Returns the day of week for a date.
The day of week:
1 = Monday 2 = Tuesday 3 = Wednesday 4 = Thurday 5 = Friday 6 = Saturday 7 = Sunday