datetime tahun Python
import datetime
now = datetime.datetime.now()
print(now.year, now.month, now.day, now.hour, now.minute, now.second)
miletoo
import datetime
now = datetime.datetime.now()
print(now.year, now.month, now.day, now.hour, now.minute, now.second)
import datetime
datetime.datetime.combine(datetime.date(2011, 1, 1),
datetime.time(10, 23))