isoYear

isoyear(d: date) 🡒 number, pure function

Return the ISO year as defined by the lead week calendar part of the ISO 8601 date and time standard.

Example:

show summary "" a1a3 with
  isoYear(date(2019, 12, 28))
  isoYear(date(2019, 12, 31))
  isoYear(date(2020, 1, 1))