[Zope] date manipulations
Graham Chiu
anon_emouse@hotmail.com
Sun, 19 Mar 2000 15:45:53 +1300
I want to add an hour to a date...
this doesn't work
Closedate is: <dtml-var "closedate.aCommon()"><br>
<dtml-call "REQUEST.set('newdate',closedate+1/24)">
Closedate + 1 hour is: <dtml-var "newdate.aCommon()"><br>
But this does
Closedate is: <dtml-var "closedate.aCommon()"><br>
<dtml-call "REQUEST.set('newdate',closedate+.04167)">
Closedate + 1 hour is: <dtml-var "newdate.aCommon()"><br>
Win32 2.1.3
-------
Regards, Graham Chiu
gchiu<at>compkarori.co.nz
http://www.compkarori.com/dynamo - The Homebuilt Dynamo
http://www.compkarori.com/dbase - The dBase bulletin