Syntax

AddDate(name, date)

Description

Use this method to add a Date value to the JSON Object.

Parameters

Name Description
name Specifies the name of the date that needs to be added as a string.
date Specifies the date to add to the JSON Object as a Date type.

Returns

None.

Example

Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
   
&oObject.AddDate("CurrentDate", %Date);