year

Extract the year component

Returns the calendar year from Date or Datetime values.

Parameters

Returns

The year(s).