GetTime method: JsonObject class

Syntax

GetTime(Name)

Description

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

Parameters

Parameter Description

Name

Specifies the name of the time object as a string.

Returns

Time.

Example

Local JsonObject &jObj = CreateJsonObject();
&jObj.AddProperty("TOB", "TYPE_TIME");
Local time &jtm = &jObj.GetTime("TOB");