📜  python timedelta to seconds - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:58.640000             🧑  作者: Mango
代码示例2
import datetime
datetime.datetime.timestamp(datetime.timedelta(hours=1, days=2, seconds=1000)).total_seconds()