GetDate method: JsonObject class

Syntax

GetDate(Name)

Description

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

Parameters

Parameter Description

Name

Specifies the name of the date object as a string.

Returns

Date.

Example

Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("DOB", "TYPE_DATE");
Local date &jdt = &jObj.GetDate("DOB");