15 May
2003
15 May
'03
7:10 p.m.
jwsacksteder@ramprecision.com wrote at 2003-5-15 09:46 -0400:
Is there an easy way to massage the output of date.Date() from dtml-calendar into a format that is more directly usable in sql queries? I would like to get dates out like 2003-05-12 rather than 05//12/03.
I was hoping for something like date.Date(yyyy-mm-dd), but no such thing is apparently supported.
"DateTime" objects are documented ;-) I think, both in the embedded online help as well in "DateTime/DateTime.html". One option is to use "strftime"... Dieter