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
/if
/in
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
[EMAIL PROTECTED] - ICQ#74362415
_______________________________________________
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 )