GetDcTime

GetDcTime 1:

This method returns the value of a property of the data type DCTIME.

Syntax

METHOD GetDcTime : DCTIME
VAR_INPUT
  v : SJsonValue;
END_VAR

GetDcTime 2: Return value

Name

Type

GetDcTime

DCTIME

GetDcTime 3: Inputs

Name

Type

v

SJsonValue (note possible invalidity)

Sample call:

jsonDoc  := fbJson.ParseDocument(sExistingJsonDocument);
jsonProp := fbJson.FindMember(jsonDoc, 'property');
dcTime   := fbJson.GetDcTime(jsonProp);