get unix date timestamp code example
Example: from datetime to unix timestamp
import time
import datetime
d = datetime.date(2015,1,5)
unixtime = time.mktime(d.timetuple())
unixtime
import time
import datetime
d = datetime.date(2015,1,5)
unixtime = time.mktime(d.timetuple())
unixtime