Zeller's Congruence - Find the Day for a Date in Python7 Mar 2025 | 3 min read An Introduction to Zeller's CongruenceA technique called Zeller's Congruence can be used to determine the day of the week for any given Julian or Gregorian calendar date. This formula uses integer calculations based on the year, month, and day to calculate which day of the week a given date falls on. Christian Zeller developed a technique known as Zeller's congruence, which allows one to determine the day of the week for any date in the Julian or Gregorian calendar. One may argue that it is predicated on the conversion of the calendar date to Julian's day. The day of the week for every given date may be found using an algorithm. It is as follows for the Gregorian calendar: ![]() In terms of the Julian calendar, it's ![]() Where:
NOTE: In this procedure, January and February are accounted for as months 13 and 14 of the preceding year. For instance, on February 2, 2010, the date is calculated by the algorithm as the second day of the fourteenth month of 2009 (02/14/2009 in DD/MM/YYYY format). |
We request you to subscribe our newsletter for upcoming updates.

We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India


