import datetime print(datetime.datetime.now()) # --> (year, month, day, hour, minute, second, millisecond)