Friday the 13th etc.) of the year. Any month that starts on a Sunday contains a Friday the 13th, and there is at least one Friday the 13th in every calendar year. There can be as many as three Friday the 13ths in a single calendar year; either in February, March and November in a common year starting on Thursday (such as 2009, 2015 or 2026) (D), or January, April and July in a leap year starting on Sunday (such as 2012) (AG). The longest period that occurs without a Friday the 13th is 14 months, either from July to September the following
Determination of the day of the week day of the week begins by starting from an ‘anchor date’: a known pair (such as January 1, 1800 as a Wednesday), determining the number of days between the known day and the day that you are trying to determine, and using arithmetic modulo 7 to find a new numerical day of the week. One standard approach is to look up (or calculate, using a known rule) the value of the first day of the week of a given century, look up (or calculate, using a method of congruence) an adjustment for the month, calculate the number of leap years