[Zope] ZPT: getting the current year

Satheesh Babu vattekkat.babu at verizon.net
Sat Aug 23 08:10:06 EDT 2003


<span tal:define="yyyy python:here.ZopeTime().strftime("%Y")">...</span>


- Babu
http://vsbabu.org/
martin f krafft wrote:
> i am sure this is easy as hell, but as much as i tried, i did not
> yet arrive. please spare me the agony of listing all the things
> i tried, could someone just please give me a tal:define statement
> that stores the current year in four digit form into a variable for
> use in a ZPT?
> 
> thanks,




More information about the Zope mailing list