The day of the week for a specific date advances by 1 day for each ordinary year and by 2 days for each leap year that falls between the two dates. We count the leap years whose February 29 falls within the period.