dayofweek
Day of the week is a designation for each day within a seven-day cycle used in most civil calendars. The common sequence is Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. In many regions the week starts on Sunday, while international standards such as ISO 8601 place Monday as the first day of the week and often represent days numerically from 1 (Monday) to 7 (Sunday) or 0–6 in other conventions.
Etymology and naming conventions vary by language. In English, the Sunday and Monday names reflect the Sun
Numerical and programmable representations are common in software and data exchange. Some systems index days starting
Computing the day of the week for a given date can be performed with algorithms such as