IsISO8601TimeFormat

IsISO8601TimeFormat 1:

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

IsISO8601TimeFormat 2: Return value

Name

Type

IsISO8601TimeFormat

BOOL

IsISO8601TimeFormat 3:/IsISO8601TimeFormat 4: Inputs/Outputs

Name

Type

sDT

STRING

Sample call:

bSuccess := fbJson.IsISO8601TimeFormat('2017-08-09T06:54:00');