PushbackDateTimeValue

This method appends a value of the data type DATE_AND_TIME to the end of an array.
Syntax
METHOD PushbackDateTimeValue : SJsonValue
VAR_INPUT
v : SJsonValue;
value : DATE_AND_TIME;
END_VAR
Return value
Name | Type |
---|---|
PushbackDateTimeValue | SJsonValue (note possible invalidity) |
Inputs
Name | Type |
---|---|
v | sJsonValue (note possible invalidity) |
value | DATE_AND_TIME |
Sample call:
jsonDoc := fbJson.ParseDocument(sExistingJsonDocument);
jsonArray := fbJson.FindMember(jsonDoc, 'array');
jsonValue := fbJson.PushbackDateTimeValue(jsonArray, dtTime);