A quicky for you Zopistas:  I have some dates in a database, which 
govern when a story becomes live and when it expires.  I need to do a 
test along the lines of:

dtml-in stories
  if (startdate is past) and (expirydate is future)
    show the story

I have seen the fmt parameters isPast and isFuture and this gives me a 
true/false response:  <dtml-var startdate fmt=isPast>  but how do I use
that in an if test?  I keep (as usual) getting syntax errors.  Help!

Andy Gates, Learning and Research Technology

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to