📜  python datetime to seconds - Python 代码示例

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

代码示例2
>>> from datetime import datetime
>>> datetime.fromtimestamp(1485714600).strftime("%A, %B %d, %Y %I:%M:%S")
'Sunday, January 29, 2017 08:30:00'