[Zope] Manipulating Dates in Zope
Andreas Jung
andreas@andreas-jung.com
Tue, 4 Dec 2001 18:19:40 -0500
But usage of mxDateTime is not directly possible in
Zope except you use external methods or tweak the
security machinery.
Andreas
----- Original Message -----
From: "Thomas B. Passin" <tpassin@mitretek.org>
To: <zope@zope.org>
Sent: Tuesday, December 04, 2001 18:14
Subject: Re: [Zope] Manipulating Dates in Zope
> [<complaw@hal-pc.org>]
>
> > Is there a way in Zope (preferably in a python script rather than DTML)
to
> > manipulate dates so that you can calculate the date, say, six months
ahead
> > (regardless of the intermediate months having 28/29/30/31 days)?
> >
> > Some dates must be calculated on increments other than days. For
example,
> a
> > response to something may be due three months from the present date
(e.g.,
> > February 4, 2002) or five years from the present date (e.g., December 4,
> 2006).
> > Simply adding days would not take into account months that have
more/less
> than
> > 30 days.
> >
> > Does Zope/python have any tools that can be employed for the above in a
> python
> > script?
> >
>
> mxDateTime has a lot of date capability. It's python, not specifically
> Zope. Do a search on Google and you should find it.
>
> Cheers,
>
> Tom P
>
>
> _______________________________________________
> 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 )
>