Wrong date

Report a typo

Which of the following datetime objects are incorrect?

import datetime

# a
datetime.datetime()

# b
datetime.datetime(1017, 7, 16)

# c
datetime.datetime(8888, 5, 6, 13, 45, 57)

# d
datetime.datetime(1999, 2, 22, 15)

# e
datetime.datetime(1378, 9)

# f
datetime.datetime(1, 12, 25)

Remember that the first number signifies the year, the second one stands for the month, the third one means the day, etc.
Select one or more options from the list

Create a free account to access the full topic