IsISO8601TimeFormat

This method checks whether the transferred string corresponds to the standardized ISO8601 time format. If that is the case, the method returns TRUE, otherwise it returns FALSE.
Syntax
METHOD IsISO8601TimeFormat : BOOL
VAR_IN_OUT CONSTANT
sDT : STRING;
END_VAR
Return value
Name | Type |
---|---|
IsISO8601TimeFormat | BOOL |
/
Inputs/Outputs
Name | Type |
---|---|
sDT | STRING |
Sample call:
bSuccess := fbJson.IsISO8601TimeFormat('2017-08-09T06:54:00');