[Zope] Re: ZopeTime
Joachim Schmitz
perry@ac-copy.net
Thu, 16 Sep 1999 00:03:15 +0200 (CEST)
On Mon, 6 Sep 1999, Evan Simpson wrote:
> Note that you can convert standard epoch time values (such as Confera
> "created" and "modified") or well-formatted date/time strings into
> DateTime objects by passing them to "_.DateTime()". Then you can apply
> any of the zillions of formatting and datetime arithmetic operations to it
> easily. For example:
>
> <dtml-var "_.DateTime(adatestring) + 5" fmt="%m/%d/%y">
what is this ?
<dtml-var "_.DateTime('1999-09-11') + 5" fmt="%m/%d/%y">
gives me: 09/10/99
^^
the day is one less ?? timezone problem ?
Gruß
Joachim Schmitz
WWW-Consultant
email: js@ac-copy.net
tel: +49-241-89491-0
fax: +49-241-89491-29