Leap week calendar week calendars would synchronize with the Gregorian every 400 years Note that the new years of the calendars shown need not be synchronised. The years according to ISO week date applied to months, i.e. a month has as many weeks as it has Thursdays, are shown depending on the weekday of 1 January, shaded weeks belong to the month they are labeled with in regular years and to the other adjoining one in leap years. Leap week calendar A leap week calendar is a calendar system with a whole number of weeks every year, and with every year starting on
Determination of the day of the week the intended design objective. The tabular forerunner to Tøndering's algorithm is embodied in the following K&R C function. With minor changes, it was adapted for other high level programming languages such as APL2. Posted by Tomohiko Sakamoto on the comp.lang.c Usenet newsgroup in 1992, it is accurate for any Gregorian date. IBM's Rata Die method requires that one knows the "key day" of the proleptic Gregorian calendar i.e. the day of the week of January 1, AD 1 (its first date). This has to be done to establish the remainder number based on which the day of the week is