from datetime import date current_date = date.today() print("Current date: ", current_date) print("Current year:", current_date.year)