#DAYOFWEEK
This operator returns an integer based on the day of the week for the specified date.
Syntax:
#DAYOFWEEK b
Example:
#DAYOFWEEK 10/18/1986 equals 6
The integer value that is returned is as follows
1 = Monday
2 = Tuesday
3 = Wednesday
4= Thursday
5 = Friday
6 = Saturday
7 = Sunday