StrToRelTimeEx
%StrToRelTimeEx function
Function
The function converts a text string to a value of Relative time type according to a given mask.
Declaration
REAL %StrToRelTimeEx(
TEXT in String1,
TEXT in String2
)Parameters
string1 | Text string. |
string2 | Mask. |
Description
Mask (the parameter String2) used in the function is extended as follows:
the number of days can be defined:
- d
- dd
- ddd
- ddddthe number of hours can be defined:
- h
- hh
- hhh
- hhhh
Example
%StrToRelTimeEx("17:03:16", "hh:mi:ss")Related pages: