Beispiel #1
0
 def time_stamp(self):
     return int(time.mktime(self.time.timetuple()) * 1000)
Beispiel #2
0
def time2unix(date):
    return int(time.mktime(date.timetuple()))