GETTIME

Purpose:

Returns the system time or the creation time of a series.

Syntax:

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:

0:

use standard format (default)

1:

use time axes millisecond precision

13:

use millisecond precision

Returns:

A string containing the time in the format hh:mm:ss. or hh:mm:ss.msec.

Example:

gettime

 

returns the system time.

Example:

gettime(13)

 

returns the system time with milliseconds.

Example:

gettime(W3)

 

returns the time of the series in Window 3.

Example:

gettime(W3, 13)

 

returns the time of the series in Window 3 with milliseconds.

Example:

gettime(W3, 1)

 

displays the time using the millisecond precision as specified in the Tools-Options-System Preferences-Date/Time configuration dialog.

Remarks:

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.

 

See GETDT to return the date and time values of a series.

See Also:

CLOCK

GETDATE

GETDT

SETDATE

SETHUNITS

SETTIME