SetDateTime property: JsonNode class
Syntax
SetDateTime(datetime_value)
Description
Use this method to set the datetime value of the node.
Parameters
| Parameter | Description |
|---|---|
|
datetime_value |
Specifies the datetime value of the node as datetime. |
Returns
None.
Example
Local JsonNode &jNode = CreateJsonNode();
Local datetime &dttm = DateTime6(2000, 1, 1, 1, 5, 7);
&jNode.SetDateTime(&dttm);