15 Dec
2003
15 Dec
'03
4:45 p.m.
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