[Zope] How to subtract one date from another?
Chris Withers
chrisw@nipltd.com
Wed, 26 Apr 2000 17:32:28 +0100
<dtml-var "_.DateTime('2000-5-5')-_.DateTime('2000-5-2')">
will do it (tested ;-)
Chris
jens ebaer wrote:
>
> Hi all,
>
> I have to to this: date - date = 20 days. (2000-5-5 - 2000-5-2 = 3 days)
>
> I checked Zope Quick Reference but couldnīt find a function which provide
> this.
>
> May someone has a python function and can give me this funktion.
>
> Thank you
>
> Jens
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )