3 ms·
Generate grid (it's static); Find first weekday of month using your favourite algorithm; Print month's name above the column that begins with that weekday.
by kohtatsu 7y ago
Generate grid (it's static);
Find first weekday of month using your favourite algorithm;
Print month's name above the column that begins with that weekday.
- intrepidhero 7y agofavourite algorithm is left as an exercise to the reader. ;-)
- zamadatix 7y agoFavorite algorithm can be as simple as "look at the first day of each month on a normal calendar".