📅  最后修改于: 2022-03-11 14:45:24.630000             🧑  作者: Mango
代码示例6
>>> import time
>>> import datetime
>>> s = "01/12/2011"
>>> time.mktime(datetime.datetime.strptime(s, "%d/%m/%Y").timetuple())
1322697600.0