year

year(d: date) 🡒 number, const pure function

Returns the year in the Gregorian calendar associated to the date d.

show summary "" a1c2 with
  year(date(2020, 1, 1))
  year(date(2019, 5, 1))

See also

User Contributed Notes
0 notes + add a note