NET/MASTER Network Control Language (NCL) Reference Manual

&SYS.LASTLOGON.DATE
System Variables
106126 Tandem Computers Incorporated 5–51
&SYS.LASTLOGON.DATE
The &SYS.LASTLOGON.DATE system variable contains the date when the user last
logged on to the system. This date has the format
www dd-mmm-yyyy
in which:
www
contains the first three characters of the day of the week.
dd
contains the numeric value of the day.
mmm
contains the first three characters of the month of the year.
yyyy
contains the numeric value of the year.
&SYS.LASTLOGON.DATE
Consideration
See also &SYS.LASTLOGON.TIME, which contains the time the user last logged on.
Example
The following example shows how you might use this system variable:
SAY "&SYS.LASTLOGON.DATE = " &SYS.LASTLOGON.DATE
&SYS.LASTLOGON.TIME
The &SYS.LASTLOGON.TIME system variable contains the time when the user last
logged on to the system. This time has the format
hh:mm
in which:
hh
contains the hour of the day in the 24-hour time format. In this format, 11 p.m.
appears as 23.
mm
contains the minutes past the hour.
&SYS.LASTLOGON.TIME
Consideration
See also &SYS.LASTLOGON.DATE, which contains the date when the user last logged
on.
Example
The following example shows how you might use this system variable:
SAY "&SYS.LASTLOGON.TIME = " &SYS.LASTLOGON.TIME