Parsing time string in Python
Parsing time string in Python Question: I have a date time string that I don’t know how to parse it in Python. The string is like this: Tue May 08 15:14:45 +0800 2012 I tried datetime.strptime(“Tue May 08 15:14:45 +0800 2012″,”%a %b %d %H:%M:%S %z %Y”) but Python raises ‘z’ is a bad directive in …