$DAY
The $DAY function takes an input day number and returns a 3-byte string containing the name of the day in ascending order beginning with Sunday. The return values are: SUN, MON, TUE, WED, THR, FRI, and SAT.
Syntax
$DAY(day-number)
Where:
Day-number is the number for the day of the week
Usage
For example, if you enter the following command:
PRINT $DAY(5)
The Model 204 displays:
'THU'
If CUSTOM=3 is selected, $DAY function takes an input day number from 2 through 8 representing in ascending order, Monday through Sunday. A string containing the full name of the day is returned, for example, if you enter the following command:
PRINT $DAY(5)
The Model 204 displays:
'FRIDAY'
Also, 9 represents the string 'MON-FRI'.