# Python program to demonstrate datetime object
# import datetime class
from datetime import datetime
# Initializing constructor
my_date1 = datetime(1999, 3, 5)
print(my_date1)
# Initializing constructor with the time aslo
my_date2 = datetime(1999, 3, 5, 9, 11, 59, 342380)
print(my_date2)