If you are looking to get current year in integer format in Python programming language, then use below one
from datetime import date
current_year = date.today().year
Source:
https://www.quora.com/How-do-I-get-the-current-year-as-an-int-value-in-Python