Returns the day of the week for the date.
These are the built in Constants References to compare against:
' Day of the Week Number for each day of the a week
SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
0 1 2 3 4 5 6
| Syntax: | 
|---|
| value = DayOfWeek( expression ) | 
| Parameter: | Description: | 
|---|---|
| expression | Any numeric integer expression that resolves to a date in the format YYYYMMDD | 
| Returns: | 
|---|
| Day of the week for the given date | 
| Example: | 
|---|
| IF DayOfWeek( test.currentDate ) = MONDAY THEN | 
| Links: | 
|---|
| See Also: | 
| Edit Time: 9/18/2020 11:59:27 AM | Topic ID#: 261 |