<untested> <dtml-var "date_created.strftime('%d/%m/%Y - %H:%M')"> </untested> Andreas ----- Original Message ----- From: "Craig Stoddart" <craig.stoddart@dundeecity.gov.uk> To: <zope@zope.org> Sent: Wednesday, June 13, 2001 12:23 PM Subject: [Zope] Date formatting problems I am trying to format the dates in my Squishdot site so that they don't appear in American format. However, the following code: <dtml-var date_created fmt="%d/%m/%Y - %H:%M"> results in an error message saying Error Type: TypeError Error Value: illegal argument type for built-in operation Does anyone have any idea what I am doing wrong? ------------------------------------------------- Craig Stoddart IT Software Development Officer Dundee City Council IT Division Northern College Technical Block Gardyne Road Dundee DD5 1NY Phone: 01382 438170 Fax: 01382 438002 E-mail: craig.stoddart@dundeecity.gov.uk ------------------------------------------------- _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )