In the example, the formula is:

B4 contains a date value for January 5, 2016.

The YEAR function returns the number 2016 representing the year of the date.

Excel formula: Get month from date

Excel formula: Get day from date

Excel YEAR function