Returns the day of the week for a date as a number between 1 (Sunday) and 7 (Saturday).