AddKeyDateTime
![AddKeyDateTime 1:](Images/jpg/13473770507__Web.jpg)
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
Inputs
Name | Type |
---|---|
value | DATE_AND_TIME |
/
Inputs/Outputs
Name | Type |
---|---|
key | STRING |
Sample call:
fbJson.AddKeyDateTime('Timestamp', dtTime);