Kelley, Sean writes:
Trying to get more familiar with dtml...
How do I do a date comparison with dtml-in?
I have: <dtml-in "portal_catalog.searchResults( meta_type='CMF Event' , sort_on='Date' , sort_order='reverse' , Subject='All Utilities' , review_state='published' )" size="10"> Some stuff </dtml-in>
I want to insert a dtml statement so that only the CMF events that are on or after today show up. Please read the section about the ZCatalog in the Zope book. You should look for "range" queries.
You may also look in <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Dieter