%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
timeRTime interval.
maskThe 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.

StringDescription
dddNumber of days
hhHours
miMinutes
ssSeconds
mssMilliseconds
Example
%RTToStr(M.TiA_01, "ddd hh:mi:ss.mss")
Napíšte komentár