GetLastElementStamp function
The GetLastElementStamp function returns the timestamp of the last element in the time series.
Syntax
GetLastElementStamp(ts TimeSeries,
flag integer DEFAULT 0)
returns lvarchar;
- ts
- The source time series.
- flag
- 0 = Default. Return the timestamp of the last element, regardless of whether the element is null.
Returns
The timestamp of the last element in the time series, as a DATETIME YEAR TO FRACTION(5) value.