[Zope] Displaying the date in dtml method

Wayne Pascoe wayne.pascoe@ehsrealtime.com
Tue, 12 Mar 2002 15:41:31 +0000


Hi all,

I am trying to display the date in a dtml method. I am currently using
<dtml-var expr="_.DateTime('GMT')">
but this is too verbose. It prints the following :
2002/03/12 15:40:45.7868 GMT

I am looking for a function that will just print
2002/03/12

Is there anything that will do this, or do I have to take another route ?

Thanks,

-- 
Wayne Pascoe <wayne.pascoe@ehsrealtime.com>

The price of freedom is eternal vigilance
   - Thomas Jefferson