-

CONCAT_LTIME

Type Function
Description Concatenates (combines) the integer values (ANY_INT) for days, hours, minutes, seconds, milliseconds, microseconds and nanoseconds to build a duration. The result is stored to the output of the data type LTIME.

The function is an overloaded function. It can operate on all ANY_INT input data types.
Parameters Inputs

DAYS, HOURS, MINUTES, SECONDS, MILLISECONDS, MICROSECONDS, NANOSECONDS

Output

OUT
Error behavior If the resulted value is greater than LINT_MAX (overflow), the overflow value is returned.

Note: Values outside the range of an input data type are allowed (for example, 25 hours).
Examples Example in ST

out := CONCAT_LTIME(1, 0, 70, 15, 1, 0, 0);   (* results in LTIME#1d1h10m15.001s *)
Additional information EN/ENO behavior