
Finding Any Weekday by Hand
The margin of a meeting book sometimes supplies a date and a weekday. If the two disagree, a reader has reason to look more closely. The clerk may have copied the date from the previous entry, or a later hand may have supplied the wrong weekday. Before proposing an explanation, it helps to do the arithmetic. For a date in the Gregorian calendar, the weekday can be recovered from the date itself.
A perpetual calendar is a reusable way of doing that work. A printed one might let the reader select a year's arrangement and look up its months. A mental method instead finds a known weekday within the year and counts from a convenient date. The result can serve the same purpose as that margin entry, with the advantage that another reader can reproduce it without seeing the book. Both methods depend on two familiar facts. The week repeats every seven days, and February sometimes has a day that the other years lack.
What leap years do to weekdays
An ordinary year has 365 days. That is fifty-two weeks and one day, so the first of January moves forward by one weekday after an ordinary year. A leap year has 366 days and moves the following January forward by two weekdays. Within a leap year the extra day enters at the end of February. Any arithmetic that compares dates in January or February with dates later in the same year must allow for that placement.
The Gregorian rule starts by making years divisible by four leap years. Century years, divisible by 100, are exceptions unless they are also divisible by 400. Thus 1900 was an ordinary year and 2000 was a leap year. There are 97 leap years in each span of 400 Gregorian years. The resulting 146,097 days divide exactly by seven. A Gregorian calendar therefore repeats its weekday pattern after 400 years. The adjustment that gave us this pattern came out of the Gregorian reform.
Find the century's anchor
The Doomsday rule rests on a set of dates that fall on the same weekday within a given year. That shared weekday is called the year's Doomsday. Its value changes from year to year. The calculation begins with the Doomsday of the century year, meaning the year that ends in 00. This definition concerns the arithmetic and avoids any dispute about when a numbered century formally begins.
For years from 1800 through 1899, the anchor is Friday. It is Wednesday for the 1900s, Tuesday for the 2000s and Sunday for the 2100s. To find the anchor for another century, add or subtract 400 from the year as often as needed to bring it into one of those ranges. The calendar's 400-year repetition preserves the weekdays. For example, a date in 2200 has the same Gregorian weekday as the corresponding date in 1800.
Find the year's Doomsday
Take the last two digits of the year. Divide that number by twelve, keeping the whole quotient and the remainder. Divide the remainder by four, discarding any fraction. Add the whole quotient from the first division to its remainder. Then add the whole quotient from the division by four. Move forward from the century anchor by the resulting number of weekdays. Whole weeks can be discarded. For a year ending in 00, the numbers are all zero and the anchor itself supplies the answer.
The division by twelve is a convenient way to keep the arithmetic small. Within a century, the year advances the weekday by one step per ordinary increment and by an extra step for each multiple of four reached. A block of twelve years gives twelve steps plus three leap steps, or fifteen in all. Fifteen has the same effect on a weekday as one step. The remainder tells us how many additional years to count after those blocks.
Choose a date in the month
Several of the shared dates are easy to remember. The fourth of April, sixth of June, eighth of August, tenth of October and twelfth of December pair each month's number with the same day number. The other pairs after February are 14 March, 9 May, 11 July, 5 September and 7 November. A reader needs only the reference date for the month in question. Each one can also be checked by counting whole weeks forward or backward from another.
For January, use the third in an ordinary year or the fourth in a leap year. For February, use its last day. That puts 28 February on Doomsday in ordinary years and 29 February on Doomsday in leap years. After finding the reference date, take the difference between it and the date in question. Count forward or backward that many weekdays, dropping whole weeks. The method is particularly quick when the target is close to the reference date.
Sunday, 18 June 2028
In 2028 the century anchor is Tuesday. Dividing 28 by twelve gives two with four left over. The remainder contains one whole group of four. Adding two and four gives six, and the extra one takes the total to seven. That is a whole week, so the year's Doomsday is Tuesday as well. The sixth of June is one of its reference dates. The eighteenth is twelve days later, which is one full week and five days. Five days forward from Tuesday gives Sunday. Counting two days backward gives the same answer.
I tend to write down the reference date before moving to the target, since a perfectly good calculation is little help if it starts in the wrong month. For a civic date fixed by weekday, the calculation can also run the other way. Finding which weekday opens the month locates its first Monday, from which a deadline or election can be dated. For older records, the arithmetic assumes that the date is expressed in the Gregorian system. Establishing that convention is a separate piece of work.