[Zope] DateTime adding not working

Michel Pelletier michel@digicool.com
Fri, 17 Sep 1999 14:21:21 -0400


> -----Original Message-----
> From: Jason Spisak [mailto:webmaster@hiretechs.com]
> Sent: Friday, September 17, 1999 11:17 AM
> To: zope@zope.org
> Subject: [Zope] DateTime adding not working
> 
> 
> I want a date that is 14 days after today, and I tried <!--#var
> expr="ZopeTime + 14"--> and I get a bad operand error.  
> 
> The source says that you can "a positive or negative number and a
> date-time object may be added to obtain a new date-time object that is
> the given number of days later..."
> 
> Anyone know how to accomplish this?

<dtml-var "ZopeTime() + 14">

-Michel