📅  最后修改于: 2022-03-11 14:46:09.077000             🧑  作者: Mango
# import datetime class from datetime module
from datetime import datetime
# get current date
datetime_object = datetime.now()
print(datetime_object)
print('Type :- ',type(datetime_object))