AddKeyDateTime

AddKeyDateTime 1:

This method creates a new property key and at the same time a value of the data type DATE_AND_TIME.

Syntax

METHOD AddKeyDateTime
VAR_IN_OUT CONSTANT
  key   : STRING;
END_VAR
VAR_INPUT
  value : DATE_AND_TIME;
END_VAR

AddKeyDateTime 2: Inputs

Name

Type

value

DATE_AND_TIME

AddKeyDateTime 3:/AddKeyDateTime 4: Inputs/Outputs

Name

Type

key

STRING

Sample call:

fbJson.AddKeyDateTime('Timestamp', dtTime);