[Zope-CMF] if statement question???
Dieter Maurer
dieter@handshake.de
Tue, 7 Aug 2001 22:14:38 +0200 (CEST)
Ian Ford writes:
> ed = a date in the form of (YYYY/MM/DD)
> end also = a date in the form or (YYYY/MM/DD)
> But for some reason it is not working.....
>
> <CODE THAT I AM USING>
>
> <dtml-if expr="ed == end">
> <br><font size="1">
> <a href="&dtml-getURL;">&dtml-Date;</a>
> </font>
> </dtml-if>
What you show us, looks good....
Are you sure, both date have the same data type?
I.e. both are either strings or both are DateTime objects?
Dieter