Carrot reference
Functions
year()
Returns the Gregorian calendar year of a particular date.
year(date)
- date - the date from which to extrapolate the year
year('2020-05-12') returns 2020.
Returns the Gregorian calendar year of a particular date.
year(date)
year('2020-05-12') returns 2020.