Question: Zeller s congruence ( source:Click _ here _ for _ more ) is an algorithm devised by Christian Zeller to calculate the day of the
Zellers congruence source:Clickhereformore is an algorithm devised by Christian Zeller to calculate
the day of the week for any calendar date. For todays Gregorian calendar, Zellers congruence is
G q m
U U
V
V mod
where G is the day of the week means Saturday, means Sunday, means Monday, q is the day of
the month q m is the month m and y is the year of the calendar date y
Further, the above equation distinguishes V as the century that is V y
and U as the year of
the century that is U y mod
Finally, there is an exception in Zellers congruence for the months of January and February which need to
be counted as month and respectively, of the previous year. Thus, if m or m then we need to
add months to the value of m and subtract year from y before we feed the values into the above equation.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
