displaying dates in European format
At the risk of getting an RTFM response, does anyone know how to display dates in European format i.e. DD/MM/YYYY? cheers Sandy.
Hi! from DateTime.DateTime import DateTime (...) today = DateTime('GMT') *today* has the format: "2001/05/20 23:27:19.3491 GMT" So, you can do that: today[8:10]+'/'+today[5:7]+'/'+today[0:4] I hope this help, Paula Mangas On Tue, 22 May 2001, Sandy Britain wrote:
At the risk of getting an RTFM response,
does anyone know how to display dates in European format i.e. DD/MM/YYYY?
cheers Sandy.
_______________________________________________ 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 )
On 22/5/01 3:19 am, "Sandy Britain" <iss01d@bangor.ac.uk> wrote:
At the risk of getting an RTFM response,
does anyone know how to display dates in European format i.e. DD/MM/YYYY?
cheers Sandy.
Mornin' Squire :) <http://www.zope.org/Members/AlexR/CustomDateFormats> is very handy... Tone. -- Dr Tony McDonald, Assistant Director, FMCC, http://www.fmcc.org.uk/ The Medical School, Newcastle University Tel: +44 191 243 6140 A Zope list for UK HE/FE http://www.fmcc.org.uk/mailman/listinfo/zope
participants (3)
-
Paula Mangas -
Sandy Britain -
Tony McDonald