📜  python datetime 添加月份 - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:41.734000             🧑  作者: Mango
代码示例3
from datetime import datetime as d
date = d.now()
print(date.strftime("%Y-%m-%d %H:%M:%S"))