[Zope] Getting current date

Lennart Regebro lennart@regebro.nu
Tue, 27 Nov 2001 13:36:09 +0100


import DateTime
now = DateTime.DateTime()

----- Original Message ----- 
From: "Tille, Andreas" <TilleA@rki.de>
Cc: "Zope user list" <zope@zope.org>
Sent: Tuesday, November 27, 2001 1:11 PM
Subject: [Zope] Getting current date


> Hello,
> 
> could somebody please tell me, how I could obtain the current date.
> 
> I would like to provide selection lists from
> 
>          1 to <todays day of month>
>    January to <todays month>
>       2000 to <this year>
> 
> Kind regards
> 
>         Andreas.
> 
> _______________________________________________
> 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 )
> 
>