The TeX Catalogue Online


Calculate day of week from a numeric date

Defines two macros:

  • \dowcomp, which calculates the day of the week as a number in the range 0—6, returning the result in a counter \dow, and
  • \dayname, which uses \dowcomp to produce the (English) name of the week day.

See also dayofweek weekday wochtag.

The author is unknown.

License: noinfo Version dated: 1993-02-15 Catalogued: 2015-08-03