DADiSP Worksheet Functions > Function Categories > Query Functions > GETTIME
Returns the system time or the creation time of a series.
GETTIME(series, format)
series |
- |
Optional. A series. If no series is specified, the system time is returned. |
||||||
format |
- |
Optional. An integer, the time format flag:
|
A string containing the time in the format
gettime
returns the system time.
gettime(13)
returns the system time with milliseconds.
gettime(W3)
returns the time of the series in Window 3.
gettime(W3, 13)
returns the time of the series in Window 3 with milliseconds.
gettime(W3, 1)
displays the time using the millisecond precision as specified in the Tools-Options-System Preferences-Date/Time configuration dialog.
The millisecond precision can also be specified with the TIME_PRECISION configuration parameter.
For series with clock time horizontal units such as "time" or "real time", the series time is the starting time for the data.