GetDateTime method: JsonObject class

Syntax

GetDateTime(Name)

Description

Use this method to return the datetime value of the property mentioned by the input parameter.

Parameters

Parameter Description

Name

Specifies the name of the datetime object as a string.

Returns

DateTime.

Example

Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("DT_TM", "TYPE_DATETIME");
Local datetime &jdttm = &jObj.GetDateTime("DT_TM");