%StrToRelTimeEx function


Function
The function converts a text string to a value of Relative time type according to given mask.
Declaration
REAL %StrToRelTimeEx(
   TEXT in String1, 
   TEXT in String2
 )
Parameters
string1Text string.
string2Mask.
Description

Mask (the parameter String2) used in the function is extended as follows:

  1. number of days can be defined:
    - d
    - dd
    - ddd
    - dddd
  2. number of hours can be defined:
    - h
    - hh
    - hhh
    - hhhh
Example
%StrToRelTimeEx("17:03:16",  "hh:mi:ss")
Napíšte komentár