NET/MASTER Network Control Language (NCL) Reference Manual

&SYS.DATE.n
System Variables
106126 Tandem Computers Incorporated 5–15
&SYS.DATE.n The &SYS.DATE.
n
system variable contains the current date in one of the specified
formats.
&SYS.DATE.1
&SYS.DATE.2
&SYS.DATE.3
&SYS.DATE.4
&SYS.DATE.5
&SYS.DATE.6
&SYS.DATE.7
&SYS.DATE.8
&SYS.DATE.9
&SYS.DATE.10
&SYS.DATE.11
Considerations
Table 5-2 lists the available formats. For the following examples, the current
system date is WED 17-AUG-1994.
Table 5-2. Date Formats (&SYS.DATE.n System Variable)
System Variable Format Output
&SYS.DATE.1 YY.DDD 94.229
&SYS.DATE.2 DAY DD-MON-YYYY WED 17-AUG-1994
&SYS.DATE.3 DD-MON-YYYY 17-AUG-1994
&SYS.DATE.4 DD/MM/YY 17/08/94
&SYS.DATE.5 MM/DD/YY 08/17/94
&SYS.DATE.6 YY/MM/DD 94/08/17
&SYS.DATE.7 YYMMDD 940817
&SYS.DATE.8 YYYYMMDD 19940817
&SYS.DATE.9 Base date (that is, the number of days since January
1st, 0001.
728156
&SYS.DATE.10 DD/MM/YYYY 17/08/1994
&SYS.DATE.11 YYYY/MM/DD 1994/08/17
&SYS.DATE.6, &SYS.DATE.7, &SYS.DATE.8, and &SYS.DATE.11 are useful where
records are stored in chronological order.
See also the DATE built-in function in Section 4, “Built-in Functions.”
See also &SYS.DATE.DAY, which contains the current day of the week.