Re(2): [Zope] Date formatting problems

Craig Stoddart craig.stoddart@dundeecity.gov.uk
14 Jun 2001 09:37:00 -0000


>FYI, have you tried:
><dtml-var ZopeTime fmt=3D"%d/%m/%Y - %H:%M">
>=3F
>
>It works for me, which makes me think that there may be a problem with your
>date=5Fcreated object.  Is it a DateTime object=3F

I think this is where the problem is - the variable=20<dtml-var date=5Fcrea=
ted>
used in Squishdot Sites seems to be stored as a string rather than as a
DateTime Object. Is there any=20way I can convert it to dd/mm/yyyy format=
 even
though it is a string=3F

Thanks,
-------------------------------------------------
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
-------------------------------------------------