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


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates