The WEEKDAY() operator extracts the day of the week of a date time expression.
WEEKDAY ( expr )
Returns a positive whole number between 0 and 6 corresponding to the day of the week implied by its operand.
The integer 0 (Zero) represents Sunday.
MAIN DISPLAY WEEKDAY( TODAY ) DISPLAY WEEKDAY( CURRENT ) END MAIN