Interval
year(date)year(Interval)date - is date or datetime. The date to extract the year from.
Interval - is Interval. The Interval to return the number of years from.
year('2012-05-12') → 2012year(tointerval('3 Years')) → 3year(age('2012-01-01','2010-01-01')) → 1.9986..