📅  最后修改于: 2022-03-11 14:47:11.957000             🧑  作者: Mango
代码示例1
import datetime
now = datetime.datetime.now()
print(now.year, now.month, now.day, now.hour, now.minute, now.second)
# 2015 5 6 8 53 40