📅  最后修改于: 2022-03-11 14:45:11.294000             🧑  作者: Mango
import datetime
dt = datetime.datetime.today()
print dt.year
# Output: 2016
print dt.month
# Output: 8
print dt.day
# Output: 22