GetDate( ) method (JsonArray)

Gets the JSON string value of one or more elements as a DATE or DATE array.

Return type: DATE

Access: PUBLIC

Applies to: Progress.Json.ObjectModel.JsonArray class

Syntax

GetDate( INPUT index AS INTEGER )

GetDate( INPUT index AS INTEGER,
         INPUT count AS INTEGER )

When this method is called with one parameter, the value of a single element is returned. Using two parameters directs the AVM to return an ABL array consisting of count elements.

index
An INTEGER identifying the value of the element to be returned. Indexing into JsonArrays is 1-based.
count
An INTEGER identifying the value of the element to be returned. Indexing into JsonArrays is 1-based.

A JsonError is raised if: