#Python program to print current year month and day
# Python program to
# print today's year, month and day
# importing the date class datetime module
from datetime import date
# creating the date object of today's date
current_date = date.today() 
# printing the current date
print("Current date: ", current_date)
# extracting the current year, month and day
print("Current year:", current_date.year)
print("Current month:", current_date.month)
print("Current day:", current_date.day)

5c79fa97a3ca0f6b3c55be2eaa640abf5a34040f
<mask token>

<mask token>
print('Current date: ', current_date)
print('Current year:', current_date.year)
print('Current month:', current_date.month)
print('Current day:', current_date.day)

<mask token>
current_date = date.today()
print('Current date: ', current_date)
print('Current year:', current_date.year)
print('Current month:', current_date.month)
print('Current day:', current_date.day)

from datetime import date
current_date = date.today()
print('Current date: ', current_date)
print('Current year:', current_date.year)
print('Current month:', current_date.month)
print('Current day:', current_date.day)

#Python program to print current year month and day
# Python program to
# print today's year, month and day
# importing the date class datetime module
from datetime import date
# creating the date object of today's date
current_date = date.today() 
# printing the current date
print("Current date: ", current_date)
# extracting the current year, month and day
print("Current year:", current_date.year)
print("Current month:", current_date.month)
print("Current day:", current_date.day)
