[Zope] Date Help
Andreas Jung
Andreas Jung" <andreas@zope.com
Mon, 7 Jan 2002 10:54:37 -0500
Try
<dtml-var "ZopeTime(sdate)+30" fmt="...">
instead.
Andreas
----- Original Message -----
From: "Todd Loomis" <tloomis@dmso.mil>
To: <zope@zope.org>
Sent: Monday, January 07, 2002 10:41
Subject: [Zope] Date Help
> Hi all:
>
> I take a start date from a form and want to make an end date 30 days from
> it. So in my SQL statement I have this:
>
> <dtml-var "sdate + 30" fmt="%Y/%m/%d">
>
> However this always gives me 0000-00-00 and the start date is correctly
> added. What did I do wrong?
>
> Thanks,
> Todd
>
>
> _______________________________________________
> 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 )
>