[Zope] Formating Dates returned by ZSybaseDA
Anthony Baxter
Anthony Baxter <anthony@interlink.com.au>
Sun, 08 Aug 1999 17:35:38 +1000
>>> "A J Wilson" wrote
> I have written a Z SQL Method which performs a query on a Sybase =
> Database (Sybase ASE 11.0.3.3 on Linux). It returns a date field which =
> appears to display as seconds. How can I format the field to display as =
> dd/mm/yyyy?
Try something like <!--#var "ZopeTime(dateval)"-->
or use one of the DateTime's formatting operations on this to
customise it further - see the DTML ref. for more details.