Return the number of the day in the week. Monday is “1”, Tuesday “2”, etc.
Syntax:
1 |
CurrentDayOfWeek |
Example:
1 2 3 4 5 6 7 8 9 |
//Testing if today is Wednesday IF (CurrentDayOfWeek = 3) THEN Wednesday = 1 ELSE Wednesday = 0 ENDIF RETURN Wednesday |