📜  python 当前时间 - Python 代码示例

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

代码示例1
from datetime import datetime
now = datetime.now()
print(now.strftime("%d/%m/%Y %H:%M:%S"))