Project Euler 019

Counting Sundays

You are given the following information, but you may prefer to do some research for yourself.

Find the number of Sundays that fell on the first of the month between any given years (e.g. 1943, 1946).