How do you do reverse gmtime(), where you put the time + date and get the number of seconds?
gmtime()
I have strings like \'Jul 9, 2009 @ 20:02:58 UTC\'
\'Jul 9, 2009 @ 20:02:58 UTC\'
t = datetime.strptime('Jul 9, 2009 @ 20:02:58 UTC',"%b %d, %Y @ %H:%M:%S %Z")