# Python program to 
# demonstrate datetime object 

from datetime import datetime 

# Initializing constructor 
a = datetime(1999, 12, 12) 
print(a) 

# Initializing constructor 
# with time parameters as well 
a = datetime(1999, 12, 12, 12, 12, 12, 342380) 
print(a) 
