Returns a number representing the day of the week on which a date occurs.
DayOfWeek ( date )
date - any calendar date
Data type returned
Originated in version
6.0 or earlier
The number 1 represents Sunday, 2 represents Monday, 3 represents Tuesday, and so on. For example, you can find out on what day of the week a holiday occurs.
DayOfWeek ( "10/8/2019" ) returns 3.
DayOfWeek ( Date ( 10 ; 9 ; 2019 ) ) returns 4.
DayOfWeek ( ProjectDue ) returns 4 when the date in ProjectDue is 10/9/2019.