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
Subject Author Views Date
Thread Python- date format change Alba 8570 Apr 27, 2009, 12:40 AM
Post Re: [Alba] Python- date format change
Andy 8375 Apr 27, 2009, 12:50 AM