📅  最后修改于: 2022-03-11 14:45:04.125000             🧑  作者: Mango
DT = datetime.datetime(2016,01,30,15,16,19,234000) #trailing zeros are required
DN = (DT - datetime.datetime(2000,1,1)).total_seconds()
print repr(DN)