Is there an easy way to convert an RFC 3339 time into a regular Python timestamp?
I\'ve got a script which is reading an ATOM feed and I\'d like to be able to compar
try this, it works fine for me
datetime_obj = datetime.strptime("2014-01-01T00:00:00Z", '%Y-%m-%dT%H:%M:%SZ')
or
datetime_obj = datetime.strptime("Mon, 01 Jun 2015 16:41:40 GMT", '%a, %d %b %Y %H:%M:%S GMT')