📜  python - 协调世界时 - Python 代码示例

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

代码示例1
from datetime import datetime, timezone
print(datetime.now())              # timezone
print(datetime.now(timezone.utc))  # coordinated universal time