timeValue()
The dateTimeLib.timeValue() system function returns a TIME value derived from a string. EGL maintains this function for backward compatibility only. New code can simply assign the string to the TIME variable.
For the rules EGL uses to convert the string value to a TIME value, see Converting text to date/time types.
Syntax
dateTimeLib.timeValue(timeAsString STRING? in)
returns (result TIME?)
- timeAsString
- A string containing digits that match the pattern "HHmmss".
- result
- A TIME value. If timeAsString is null, the function returns a null value.