Contoh Kelas Tanggal Datetime Python

# Python program to demonstrate date class
# import the date class
from datetime import date

# initializing constructor and passing arguments in the format year, month, date
my_date1 = date(1999, 3, 5)
print("Date passed as argument is", my_date1)
Outrageous Ostrich