cl-projects.de
 
Bauteile-Verwaltung part-db
Tools
Laminator-Umbau

Verschiedenes
miscellaneous stuff

Reusing old calendars

I got many calendars that I like depicting famous art pieces. As you may know, these are quite expensive. So I was wondering, in which year you could reuse the old ones, instead of buying a new one?

To answer this question, I programmed a tiny program (see source code below).

Years with 1st of March being a ...
SundayMondayTuesdayWednesdayThursdayFridaySaturday
1981198219831989198419851980
1987199319881995199019911986
1992199919942000200119961997
1998200420052006200720022003
2009201020112017201220132008
2015202120162023201820192014
2020202720222028202920242025
2026203220332034203520302031
20372038203920402036

This is how it works: All years in one table column have the 1st of March on the same weekday. Of course, this means that in leap years, the weekdays in months February and January will not be correct.

For instance, in 2016 1st of March is a Tuesday. So we go into that column and see that the calendar from 2011 or 2005 could be re-used. In 2017, we could reuse that old calendar from 2006.

Resources

MATLAB program used to prepare the table. Contains an example for accumarray, a function underappreciated by many.

Impressum