Returns 1 if the input is a series with real time X units.
A series, scalar or string value to test.
An integer, 1 if the input is a series with real time X units, else 0.
s1 = grand(100, 1);sethunits("time");
s2 = grand(100, 1);sethunits("real time");
s3 = grand(100, 1);sethunits("seconds");
isrt(s1) == 1
isrt(s2) == 1
isrt(s3) == 0
Both "time" and "real time" are considered real time units such that the actual clock time is displayed on the X axis, but "seconds" is not considered a real time unit.
A series with "Real Time" or "Time" X units displays tic values in terms of actual clock time. The starting date and time is determined by the series start date and start time. "Real Time" displays clock time with fractional seconds values.
See SETDATE and SETTIME to set the series date and time.
If the input is not a series, ISRT returns 0.