datetime -> unixtime
import time time.mktime(datetime_obj.timetuple())
unixtime -> datetime
import datetime datetime.datetime.fromtimestamp(unixtime)
so. I'll forget it, so make a note
Recommended Posts