What day of the week …

… will the 28th of July 2061 be?  (Next predicted sighting of Halley’s comet)

… was the 4th of April 1965? (Robert Downey Jr ‘s birth)

… was the 17th of July 1789? (Prise de la Bastille)

We puzzled over these two questions having to think about where to start, the number of days in each month, and the rules for leap years.

It was fun to try different strategies by hand, but then we used the mod function and the floor function in Zeller’s algorithm to find quickly the day of the week for any date.

days of the week

Leave a Reply

Your email address will not be published. Required fields are marked *