year

Extract the year component

Returns the calendar year from Date or Datetime values.

Parameters

Returns

Vector[Int] The year(s).