import datetime
x = datetime.datetime.now()
print(x)
print(x.year)
print(x.month)
print(x.hour)
print(x.minute)
print(x.second)