NET/MASTER Network Control Language (NCL) Reference Manual

TIME
Built-in Functions
4–84 106126 Tandem Computers Incorporated
TIME The TIME built-in function returns the current time, in one of several formats.
TIME( [
option
] )
option
indicates the format in which the time is to be displayed. The available formats
are:
A
returns the time since midnight in the format sssss.uuuuuu, in which sssss is
seconds and uuuuuu is microseconds (that is, 0.000001 seconds). This time is
accurate to one microsecond. Leading 0s are suppressed.
C
returns the time in the format hh:mmxx, in which hh is hours (1 through 12
with no leading 0), mm is minutes (00 through 59), and xx is am or pm. mm is
the current minute, not the nearest (rounded) minute.
H
returns the number of hours since midnight. Leading 0s are suppressed.
L
returns time in a long format: hh:mm:ss.uuuuuu, in which hh is hours, mm is
minutes, ss is seconds, and uuuuuu is microseconds.
M
returns the number of minutes since midnight. Leading 0s are suppressed.
N
returns the time in the format hh:mm:ss, in which hh is hours, mm is minutes,
and ss is seconds.
S
returns the number of seconds since midnight. Leading 0s are suppressed.