week, contextual keyword

The word week is a contextual keyword of the Envision language. It refers to the primitive data type week, which represents an integral weekly index since Jan 1st 2001.

week(d: date) 🡒 week, pure function

Returns the week associated to the specified date.


show summary "" a1a3 with
  week(date(2019, 12, 28))
  week(date(2019, 12, 30))
  week(date(2020, 1, 1))