DayOfWeek (Reserved Word)
Returns the day of week for the specified calendar date. (0 = Sun, 6 = Sat).
DayOfWeek(cDate);
Where cDate is a numeric expression representing the six or seven digit EasyLanguage calendar date in the format YYMMDD or YYYMMDD respectively. (1999 = 99, 2001 = 101)
Examples
DayOfWeek(980804)
returns a value of 2 because August 4, 1998 is a Tuesday.
DayOfWeek(1011024)
returns a value of 3 because October 24, 2001 is a Wednesday.