A simple way to calculate the day of the week for any day of a given year
blogs.fluidinfo.com