Home
Get Started
Overview
API Docs
GitHub
year
Extract the year component
Returns the calendar year from Date or Datetime values.
Parameters
x
(
Date
): | Datetime | Vector The temporal value(s).
Returns
Vector[Int] The year(s).