YEAR Function

The YEAR function is one of the date and time functions. It returns the year (a number from 1900 to 9999) of the date given in the numerical format (MM/dd/yyyy by default).

The YEAR function syntax is:

YEAR(date-value)

where date-value is a value entered manually or included into the cell you make reference to.

To apply the YEAR function,

  1. select the cell where you wish to display the result,
  2. click the Insert function
    icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the
    icon situated at the formula bar,
  3. select the Date and time function group from the list,
  4. click the YEAR function,
  5. enter the required argument,
  6. press the Enter button.

The result will be displayed in the selected cell.

YEAR Function