%RelTimeToStr function


Old name
%RTToStr
Function
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 Time format of result string.

Note
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")

Napíšte komentár