How to work out what day of the week any date in the Gregorian calendar was or will be.