GetDatetime( ) method (JsonObject)
- Last Updated: January 18, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
Gets the JSON string value of the named property as a DATETIME.
Return type: DATETIME
Access: PUBLIC
Applies to: Progress.Json.ObjectModel.JsonObject class
Syntax
|
- property-name
- A CHARACTER expression that denotes the name of the property value to
be retrieved from the JsonObject.
property-name is case-sensitive.
A JsonError is raised if:
-
property-name is
the empty string (
""), or is the Unknown value (?) - The property does not exist
- The property value is not a JSON String
- The property value cannot be parsed as an ISO 8601 date and
time in the format:
"YYYY-MM-DD[THH[:MM[:SS[.sss]]]]"