Find the Day of the Week of Any Day in the Century
Have you ever wondered what day of the week you were born on? Or what day of the week a certain historical event happened? With a little bit of math, you can use the Zeller Congruence to find the day of the week for any given date.
4 out of 5
Language | : | English |
File size | : | 2008 KB |
Text-to-Speech | : | Enabled |
Screen Reader | : | Supported |
Enhanced typesetting | : | Enabled |
Print length | : | 9 pages |
Lending | : | Enabled |
The Zeller Congruence
The Zeller Congruence is a formula that can be used to calculate the day of the week for any given date. The formula is as follows:
h = (q + (26 * m - 2) - 2 * c + y + (y / 4) + (c / 4)) % 7
where:
- q is the day of the month (1-31)
- m is the month number (1-12)
- c is the century (0 for the 19th century, 1 for the 20th century, etc.)
- y is the year (0-99)
To use the Zeller Congruence, simply plug the given values into the formula and calculate the result. The result will be a number between 0 and 6, which corresponds to the day of the week (0 = Sunday, 1 = Monday, 2 = Tuesday, 3 = Wednesday, 4 = Thursday, 5 = Friday, 6 = Saturday).
Example
Let's say we want to find the day of the week for July 4, 1776. Using the Zeller Congruence, we can calculate the result as follows:
h = (4 + (26 * 7 - 2) - 2 * 18 + 76 + (76 / 4) + (18 / 4)) % 7 h = (4 + 182 - 36 + 76 + 19 + 4) % 7 h = 152 % 7 h = 4
The result is 4, which corresponds to Thursday. Therefore, July 4, 1776 was a Thursday.
The Zeller Congruence is a useful tool for finding the day of the week for any given date. With a little bit of practice, you can use the formula to quickly and easily calculate the day of the week for any day in the century.
4 out of 5
Language | : | English |
File size | : | 2008 KB |
Text-to-Speech | : | Enabled |
Screen Reader | : | Supported |
Enhanced typesetting | : | Enabled |
Print length | : | 9 pages |
Lending | : | Enabled |
Do you want to contribute by writing guest posts on this blog?
Please contact us and send us a resume of previous articles that you have written.
- Best Book Source
- Ebook Universe
- Read Ebook Now
- Digital Book Hub
- Ebooks Online Stores
- Fiction
- Non Fiction
- Romance
- Mystery
- Thriller
- SciFi
- Fantasy
- Horror
- Biography
- Selfhelp
- Business
- History
- Classics
- Poetry
- Childrens
- Young Adult
- Educational
- Cooking
- Travel
- Lifestyle
- Spirituality
- Health
- Fitness
- Technology
- Science
- Arts
- Crafts
- DIY
- Gardening
- Petcare
- By Irma Fleur
- Andrew M Jones
- Halina Ogonowska Coates
- Charles Oakley
- Oscar Lewis
- M William Phelps
- George Copway
- Michael J Epstein
- Paul Allen
- Dennis Smith
- Amy Robach
- David Montenegro
- Steven Selikoff
- Michael Sims
- Michael Benson
- Umair Haque
- Paul Stanley
- Paul Wilson
- Marc Cram
- Marc Friedrich
Light bulbAdvertise smarter! Our strategic ad space ensures maximum exposure. Reserve your spot today!
- John ParkerFollow ·18k
- Galen PowellFollow ·15k
- Isaiah PowellFollow ·7.2k
- Blake BellFollow ·3.1k
- Yasunari KawabataFollow ·15.9k
- Cooper BellFollow ·15.9k
- Dan HendersonFollow ·12.7k
- Felix HayesFollow ·14.7k
Chris Hogan: The Everyday Millionaire Who Shares His...
Chris Hogan is an Everyday Millionaire who...
The Comprehensive Guide to Compensation, Benefits &...
In today's...
Approving 55 Housing Facts That Matter
Housing, an essential aspect...
Unveiling the Enchanting Heritage of Royal Tours: A...
Canada, a land steeped in history...
4 out of 5
Language | : | English |
File size | : | 2008 KB |
Text-to-Speech | : | Enabled |
Screen Reader | : | Supported |
Enhanced typesetting | : | Enabled |
Print length | : | 9 pages |
Lending | : | Enabled |