[Zope] dtml-calendar date formatting

jwsacksteder@ramprecision.com jwsacksteder@ramprecision.com
Thu, 15 May 2003 09:46:12 -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.