SYSTIME Function
Returns the current system time as either a string or as the number of seconds elapsed since January 1, 1970.
Usage
result = SYSTIME(param)
Input Parameters
param—If present and nonzero, causes the number of seconds elapsed since January 1, 1970 to be returned as a double-precision floating-point value. Otherwise, a scalar string containing the current date/time in standard system format is returned.
Returned Value
result—Either a value representing the number of seconds since January 1, 1970 or a string containing the time in the standard system time format.
Keywords
None.
Example
; Calculate number of seconds elapsed since January 1, 1970.
t1 = SYSTIME(1)
; Calculate the current date/time in standard system format.
t2 = SYSTIME(0)
PRINT, t1, t2
; PV-WAVE prints: 6.9248465e+08 Wed Dec 11 13:48:33 1991
See Also
For information on other ways that PV‑WAVE can handle dates and times, see the PV‑WAVE User Guide.