📜  python datetime 以秒为单位的差异 - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:36.560000             🧑  作者: Mango
代码示例3
import datetime as dt
a = dt.datetime(2013,12,30,23,59,59)
b = dt.datetime(2013,12,31,23,59,59)
(b-a).total_seconds()