Hi, I'm a newbi in Zope had a problem. I want substract a date from an other and set the result of this to "DAYOFYEAR". For instance: '2000-05-10' - '2000-05-08' = 2 ^^^ ^^^ ^ Date1 Date2 result DAYOFYEAR Have everyone a solution for this problem?? Many Thanks Frank
----- Original Message ----- From: F.Richter <fr@swol.de> To: <zope@zope.org> Sent: Thursday, July 06, 2000 7:58 AM Subject: [Zope] Substract Date
Hi,
I'm a newbi in Zope had a problem. I want substract a date from an other and set the result of this to "DAYOFYEAR".
For instance: '2000-05-10' - '2000-05-08' = 2 ^^^ ^^^ ^ Date1 Date2 result DAYOFYEAR
Have everyone a solution for this problem??
<dtml-let daysNumber="ZopeTime('2000-05-10') - ZopeTime('2000-05-08' )"> <dtml-var daysNumber> </dtml-let> PM _______________________________ "Will I be using Python today?" and if the answer is "yes" I know that it's going to be a good day.
participants (2)
-
F.Richter -
Marcel Preda