SetDcTime

SetDcTime 1:

This method sets the value of a property to a value of the data type DCTIME.

Syntax

METHOD SetDcTime : SJsonValue
VAR_INPUT
  v     : SJsonValue;
  value : DCTIME;
END_VAR

SetDcTime 2: Return value

Name

Type

SetDcTime

SJsonValue (note possible invalidity)

SetDcTime 3: Inputs

Name

Type

v

SJsonValue (note possible invalidity)

value

DCTIME

Sample call:

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