demo_datetime3.py:
import datetime x = datetime.datetime(2020, 5, 17) print(x)
C:\Users\My Name>python demo_datetime3.py
2020-05-17 00:00:00