Comment obtenir un horodatage Unix dans Python
import time
time.time() #returns the unix timestamp
Uninterested Unicorn
import time
time.time() #returns the unix timestamp
import time
import datetime
d = datetime.date(2015,1,5)
unixtime = time.mktime(d.timetuple())
# 1420412400.0 (float)