|
DayOfWeek Function |
Top Previous Next |
|
Function Returns the day of the week for the date. There are built in constants to compare against:
SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
Syntax
value = DayOfWeek( expression )
Parameters
Examples
IF DayOfWeek( test.currentDate ) = MONDAY THEN
' Do the weekly updating here.
ENDIF |