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\'
Use the time module:
epoch_time = int(time.time())