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!

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to