YEAR

Returns the year of a date.

Syntax

YEAR(date)

  • date - the date from which the year should be returned - Value type: date

Examples