Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

zellers_congruence

Zeller’s congruence is an algorithm devised by Christian Zeller in the 19th century to calculate the day of the week for any Julian or Gregorian calendar date. It can be considered to be based on the conversion between Julian day and the calendar date.

Fully qualified path: alexandria_math::zellers_congruence

Free functions

day_of_weekCompute the day of the week for the given Gregorian date. The returned value is an integer in the range 0 to 6, where 0 is Saturday, 1 is Sunday, 2 is Monday, and so on….
check_input_parametersCheck the input parameters for the day_of_week function….