IsISO8601TimeFormat

IsISO8601TimeFormat 1:

Diese Methode prüft, ob der übergebene String dem genormten ISO8601-Zeitformat entspricht. Wenn dies der Fall ist, gibt die Methode TRUE zurück, ansonsten FALSE.

Syntax

METHOD IsISO8601TimeFormat : BOOL
VAR_IN_OUT CONSTANT
  sDT : STRING;
END_VAR

IsISO8601TimeFormat 2: Rückgabewert

Name

Typ

IsISO8601TimeFormat

BOOL

IsISO8601TimeFormat 3:/IsISO8601TimeFormat 4: Ein-/Ausgänge

Name

Typ

sDT

STRING

Beispielaufruf:

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