The YEAR function returns the year of the date code you enter.
For example, the formula
YEAR(31062)
returns the year 1985. At the time this text was written, the following example returns 1997:
YEAR(TODAY())
See also:
TODAY( )
Other date functions