13 Aug
2003
13 Aug
'03
3:17 p.m.
Hi All, I want to get the news items by date. for eg...news items created on a particular date.
I tried with container.portal_catalog(created='2003-08-13'), container.portal_catalog(created='2003/08/13') and many other....
But i am not getting anything in result...though i have some data...
Is there any problem with date format...??? if yes please specify me the correct format?? I think that you have to pass a DateTime object and not a string: from DateTime import DateTime container.portal_catalog(created=DateTime('2003/08/13'))
Regards, Josef