Gossamer Forum
Home : General : Internet Technologies :

Python- date format change

Quote Reply
Python- date format change
I'm using the code:
if Info['DateTime']

and
Caption = unicode( Info['DateTime'])

and it prints the following date format:
2009:04:27 08:34:00

but I need it to print in the format:
27 April 2009 08:34

Does anyone know how to alter the above 1 or 2 lines to achieve this using Python coding ?

Thanks in advance
Quote Reply
Re: [Alba] Python- date format change In reply to
Hi,

I don't use python, but is this any help?

http://stackoverflow.com/...-dd-yyyy-time-format

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!