Получите текущую дату, используя метод сегодня

# Python program to print current date
# import the date class
from datetime import date

# function of date class
today = date.today()

print("Today's date is", today)
Outrageous Ostrich