I\'m trying to convert a string \"20091229050936\" into \"05:09 29 December 2009 (UTC)\"
>>>import time >>>s = time.strptime(\"200912290509
You can use easy_date to make it easy:
import date_converter my_datetime = date_converter.string_to_string("20091229050936", "%Y%m%d%H%M%S", "%H:%M %d %B %Y (UTC)")