28 Nov
2001
28 Nov
'01
10:17 a.m.
"Tille, Andreas" wrote:
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>
I believe the following code should do the trick: 1 to <dtml-var expr="_.DateTime().day()"><br> January to <dtml-var expr="_.DateTime().Month()"><br> 2000 to <dtml-var expr="_.DateTime().year()"> You'll find this and much more valuable info in "The Zope Book" (Appendix B). kind regards, Vitor Varalonga