Page 1 of 1

Day of the week calculator

Posted: Wed Feb 18, 2026 11:08 pm
by evasingle
Hello, Guest!

Article about day of the week calculator

A typical application is to calculate the day of the week on which someone was born or some other special event occurred. The basis of nearly all the algorithms to... Calculating the day of the week.

<a href="https://shrt4url.top/clipfl/?utm_source ... m_term=day of the week calculator">GO TO SITE</a>


This article details various mathematical day of the week for any particular date in the past or future. A typical application is to calculate the day of the week on which someone was born or some other special event occurred. Contents. Introduction [ ] The basis of nearly all the algorithms to calculate the day of the week is: Use arithmetic modulo 7 to add the number of days elapsed since the start of a known period (usually in practice a century). If we number the days of the week from 0 to 6 the result is some modulo value, if we use the range from 1 to 7, then 7 replaces 0. To look up or calculate using a known rule what day the given century started on. To look up or calculate what day the given year in that century started on. To look up or calculate what day the given month in that year in that century started on. To then add on the day of the month - this of course being the days elapsed since the month started. Put simply, using arithmetic modulo 7 means ignoring multiples of 7 during calculations. Thus we can treat 7 as 0, 8 as 1, 9 as 2, 18 as 4 and so on, the interpretation of this being that if we signify Sunday as day 0, then 7 days later (i.e. day 7) is also a Sunday, and day 18 will be the same as day 4, which is a Thursday since this falls 4 days after Sunday. Some algorithms do all the additions first and then cast out sevens whereas others cast them out at each step. Either way is quite permissible, the former is better when using calculators and in computer algorithms, the latter for Useful concepts [ ] Corresponding months [ ] "Corresponding months" are those months within the calendar year that start on the same day. For example, September and December correspond, because September 1 falls on the same day as December 1. Months can only correspond if the number of days between their first days is divisible by 7, or in other words, if their first days are a whole number of weeks apart. For example, February corresponds to March because February has 28 days, a number divisible by 7, 28 days being exactly four weeks. In a leap year, January and February correspond to different months than in a common year, since February 29 means each subsequent month starts a day later. Here's how the months correspond: Common year January and October. February, March and November. April and July. January, April and July. February and August. March and November. September and December. August doesn't correspond&#160,with any other month in a common year. October doesn't correspond&#160,with any other month in a leap year. May and June never correspond with any other month in any year, common or leap year. Also note that in the months table below, corresponding months have the same number, a fact which follows directly from the definition. Corresponding years [ ] There are 7 possible days that a year can start on, and leap years will alter the day of the week after February 29. This means that there are 14 configurations that a year can have. All the configurations are referenced in the article on Dominical letter. For example, 2003 was a common year starting on Wednesday, meaning that 2003 corresponds to the 1997 calendar year. 2004, on the other hand, was a leap year starting on Thursday, meaning that the year starts off corresponding to 1998 and ends corresponding to 1999. The algorithm to calculate the day of the week [ ] The algorithm is valid for the Gregorian calendar. This began in Britain and her colonies on September 14, 1752. The area now forming the United States changed at different times depending on the colonial power, Spain, France, Italy, and others had changed in 1582 and Russia had not changed by 1867 when Examples [ ] Now for an example of the complete algorithm, let's use April 24, 1982. Look up the 1900s in the centuries table: 0 Note the last two digits of the year: 82 Divide the 82 by 4: 82/4 = 20.5 and drop the fractional part: 20 Look up April in the months table: 6 Add all numbers from steps 1-4 to the day of the month (in this case, 24): 0+82+20+6+24=132. Divide the sum from step 5 by 7 and find the remainder: 132/7=18 remainder 6 Find the remainder in the days table: 6=Saturday. Look up the 1700s in the centuries table: 4 Note the last two digits of the year: 83 Divide the 83 by 4: 83/4 = 20.75 and drop the fractional part: 20 Look up September in the months table: 5 Add all numbers from steps 1-4 to the day of the month (in this case, 18): 4+83+20+5+18=130. Divide the sum from step 5 by 7 and find the remainder: 130/7=18 remainder 4 Find the remainder in the days table: 4=Thursday. Look up the 2000s in the centuries table: 6 Note the last two digits of the year: 54 Divide the 54 by 4: 54/4 = 13.5 and drop the fractional part: 13 Look up June in the months table: 4 Add all numbers from steps 1-4 to the day of the month (in this case, 19): 6+54+13+4+19=96. Divide the sum from step 5 by 7 and find the remainder: 96/7=13 remainder 5 Find the remainder in the days table: 5=Friday.













calculate date after weeks


month week day calculator


calculate weeks from days


weeks days hours minutes calculator


week day counter