AddDateTime

AddDateTime 1:

This method adds a value of the data type DATE_AND_TIME to a property. Usually, a corresponding property was created beforehand with the method AddKey().

Syntax

METHOD AddDateTime
VAR_INPUT
  value : DATE_AND_TIME;
END_VAR

AddDateTime 2: Inputs

Name

Type

value

DATE_AND_TIME

Sample call:

fbJson.AddKey('Timestamp');
fbJson.AddDateTime(dtTime); // dtTime is of type DATE_AND_TIME