NET/MASTER Network Control Language (NCL) Reference Manual
&SYS.DATE.DAY
System Variables
5–14 106126 Tandem Computers Incorporated
&SYS.DATE.DAY The &SYS.DATE.DAY system variable contains the current day of the week.
&SYS.DATE.DAY
Considerations
The value of &SYS.DATE DAY is returned in the form DDD. DDD is set to one of
the following values:
DDD Day
MON Monday
TUE Tuesday
WED Wednesday
THU Thursday
FRI Friday
SAT Saturday
SUN Sunday
See also &SYS.DATE.n, which provides the current date in different formats.
See also the DATE built-in function in Section 4, “Built-in Functions.”
Example
The following example shows how you can use this system variable:
IF &SYS.DATE.DAY = "SUN" THEN
SAY "SUNDAY"
ELSE
SAY "WEEKDAY"