Get Current Time
Gets the current time for a given time zone.
This action is available in API version 65.0 and later.
URI: /services/data/vXX.X/actions/standard/getCurrentTime
Where XX.X is the latest API version.
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
timeZone | string | Optional. The text representation of the time zone. |
| Output | Type | Description |
|---|---|---|
currentTime | string | The current time in the given time zone. |
Sample request body:
Sample response body: