Returns the four-digit year from the specified date as a number.
Syntax
year(date)
Parameters
date
can be any of the following:
- Another function that returns a date.
- A formula column that returns a date.
Examples
- If today is October 1, 2015, the following function returns 2015:
year(today())
- The following function returns 2013:
year(date(2013,01,01))