[Zope] Date Help

Todd Loomis tloomis@dmso.mil
Mon, 07 Jan 2002 11:08:42 -0500


Did, and still get 0000-00-00

Todd
At 10:54 AM 1/7/2002 -0500, you wrote:
>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 )
> >