This isn't exactly what you asked for, but try something like (untested): created = '7' created_usage = 'range:min' To get items less than 7 days old. It may be that the '7' is handled as a string, and not a number. In that case you will need to do something like <dtml-let d="_.string.atoi('7')"> portal_catalog.searchResults( meta_type='News Item' , sort_on='Date' , sort_order='reverse' , review_state='published' , created = d , created_usage = 'range:min' )) </dtml-let> -Scott -----Original Message----- From: Joel Brueziere [mailto:joelbrueziere@yahoo.com] Sent: Wednesday, October 31, 2001 7:36 AM To: Zope@zope.org Subject: [Zope] CMF & searchResults I search a way to do a searchResults with a min/max date criteria. like this: portal_catalog.searchResults( meta_type='News Item' , sort_on='Date' , sort_order='reverse' , review_state='published' <<< , Date > myDate >>> )) Do you know the right syntax for this? ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Courrier : http://courrier.yahoo.fr _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )