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

Unlike steve, I would do <dtml-var ZopeTime fmt=year>

Hope that helps in the future.
ethan mindlace fremen
Zopatista Community Liason
Abnegate I!

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to