[Zope] dates in dtml

Alejandro Fernandez ale@e-group.org
Wed, 31 Jul 2002 10:47:43 +0200


I'm trying to convert a date that's extracted from a database into a date
accepted by zope. Then I'm setting this in a variable using REQUEST.set so
I can compare it to other dates. I always get errors with this and it's
not clear how I should be doing it. I resorted to using dtml-let in order
to split things up a bit, and avoid 

 <dtml-call "REQUEST.set('first_date',

Which is really long and hard to understand. Is there any documentation
where anyone explains how to use _. functions within dtml, or how zope can
compare dates?


Alejandro Fernandez
Electronic Group Interactive