compute the day of the week of a given date
DayOfWeek( d )
DayOfWeek( year, month, day )
Date ; the date whose day of the week is to be computed
integer; the year
posint; the month of the year
posint; the day of the month
The DayOfWeek( d ) command computes the day of the week of the Date object d.
The DayOfWeek( year, month, day ) command computes the day of the week for the day-th day of the month month (1..12) in the year year.
Weekdays are numbered from 1 to 7, with 1 denoting "Sunday", 2 denoting "Monday", and so on, through 7 which denotes "Saturday".
Maryam Mirzakhani was born on a Tuesday.
The battle of Hastings occurred on a Saturday.
William the Conqueror was crowned on a Monday.
The Calendar[DayOfWeek] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
Download Help Document