📜  python 日期时间到时间戳 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:18.043000             🧑  作者: Mango

代码示例6
import datetime
now = datetime.datetime.today()
timestamp = datetime.datetime.timestamp(now)