chineseYear

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

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

show summary "" a1c2 with
  chineseYear(date(2020, 1, 1)) as "of 2020-01-01"
  chineseYear(date(2019, 5, 1)) as "of 2019-05-01"

See also