[Zope] Date Comparisons

Andreas Jung Andreas Jung" <andreas@zope.com
Tue, 22 Jan 2002 13:24:02 -0500


Did you check the DateTime API ?

- aj 
----- Original Message ----- 
From: "Yvonne Totty" <ytotty@acceleratedtechnology.com>
To: "Zope" <zope@zope.org>
Sent: Tuesday, January 22, 2002 13:13
Subject: [Zope] Date Comparisons


> Hi people,
> 
> I need to compare the current date to a
> result from a query:
> 
> <dtml-if "DateResult>=TodaysDate">
> 
> Where DateResult is from the Query
> and TodaysDate is Today's Date.
> 
> How would I go about this? I looked thru
> all the docs, but could not find an example.
> 
> Tia,
> ~~~~~~~~~~~~~~~~~~~~~~~~
> Yvonne Totty
> Database Engineer, x2198
> 
> _______________________________________________
> 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 )
>