5 Dec
2001
5 Dec
'01
10:09 p.m.
Todd Loomis writes:
I'm using the below code to get the year and month of the current date. With that I would like to insert them into my with statement. Can and if so how.
<dtml-call "REQUEST.set('year', ZopeTime().strftime('%Y'))"> <dtml-call "REQUEST.set('month', ZopeTime().strftime('%m'))">
<dtml-with "pao.stories.y_("year").m_("month")"> You ask for "Computed Attribute Access".
You can find out about your options in either the mailing list archives or <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Dieter