Hi,

> ... I want to display only those jobs
> for which the current date is on or after the 'date_posted' and on or
> before 'offer_expires'. I've tried a bunch of things, but haven't hit upon
> the winning answer. Any takers?

Try

<dtml-in "objectValues('Jobs')" sort="date_posted">
  <dtml-if "offer_expires.isFuture()">
    <dtml-if "date_posted.isPast()">
      Job: <dtml-var title> <br>
    </dtml-if>
  </dtml-if>
</dtml-in>

Seb.

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to