[Zope] Current Year

Steve Drees drees@the-bridge.net
Tue, 11 Jul 2000 10:05:33 -0500


> 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.

<dtml-var "ZopeTime().year()">