[Zope] Current Year
ethan mindlace fremen
mindlace@digicool.com
Wed, 12 Jul 2000 20:18:59 -0400
Aaron Williamson wrote:
>
> I hate to sound like such a newbie, but I am having the darndest time
> trying to figure out how to get the current year. I know that the
> current time is ZopeTime, but I have tried every way I can think of to
> get the year() function to work with it, and at last have given up. The
> documentation I have found is vague at best (imagine). Please help.
The zope quick reference is my source for answers about time
formatting. I also hear that DateTime.py has excellent in-source
documentaton.
Unlike steve, I would do <dtml-var ZopeTime fmt=year>
Hope that helps in the future.
--
ethan mindlace fremen
Zopatista Community Liason
Abnegate I!