----- Original Message ----- 
From: F.Richter <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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.




_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to