RelTimeToStr

RelTimeToStr

%RelTimeToStr function


Old name

%RTToStr

Function

The function converts given time interval to a text string according to entered mask.

Declaration

TEXT %RelTimeToStr( REAL in TimeR, TEXT in mask )

Parameters

timeR

Time interval.

mask

The time format of the result string.

Note

The position of individual time components is given by the occurrence of the following strings in the entered mask.

String

Description

ddd

Number of days

hh

Hours

mi

Minutes

ss

Seconds

mss

Milliseconds

Example

%RTToStr(M.TiA_01, "ddd hh:mi:ss.mss")