Carrot reference
Functions
year()
returns the gregorian calendar year of a particular date syntax year(date) date the date from which to extrapolate the year return type number docid\ uci5tctfvbhonej6zqijg sample usage year('2020 05 12') returns 2020 supported data types input type return type logic date docid\ xtaqdzvlbtakjxrnpfwe9 number docid\ uci5tctfvbhonej6zqijg if a date is passed, the year corresponding to that date will be returned unsupported data types null docid\ n9trvqonnbknql9drnbp6 unsupported data types return null