[Zope] Problems with date format

Andre Dourado adourado at eln.gov.br
Thu Nov 13 08:42:36 EST 2003


When I input a date in a DTML Form, I use the "%d/%m/%Y" format, but that
date field must be stored in a MS SQL Server database in "%m/%d/%Y" format.
I've tried to store that field using: <dtml-sqlvar
date_field.strftime('%m/%d/%Y') type=string> but an error ocurred.
 
How can I do that ?
 
Thanks for any help.
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.zope.org/pipermail/zope/attachments/20031113/76d0cd88/attachment.html


More information about the Zope mailing list