Create a Date class with the following 3 attributes: year, month, and day. Create a mehod that prints the date in the format 15.05.2020. code example
Example: python get day month year
import datetime
now = datetime.datetime.now()
print(now.year, now.month, now.day, now.hour, now.minute, now.second)