[Zope] date formatting question
Kate Legere
klegere at kfpl.ca
Mon Dec 15 11:45:57 EST 2003
I'm passing a date variable to a MySQL database and want to send the date
dynamically.
In my dtml method file I have
<dtml-call "REQUEST.set('now',ZopeTime().ISO())">
which gives me the date in almost the right format - however I need only the
0000-00-00 part at the beginning and don't seem to be able to find a method
that returns precisely what I want.
I've also tried <dtml-call "REQUEST.set('now',ZopeTime().Date())"> but that
doesn't work.
Any suggestions?
Kate
More information about the Zope
mailing list