Returns the year of a date or dateTime value. The year is returned as an integer in the range 1 - 9999.
Syntax
YEAR ( date | dateTime )
Return type
Examples