About this endpoint
What it does
Returns the current date and time for the requested timezone as both an ISO string and a Unix timestamp.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| tz | String | No | Timezone to use for the current date/time calculation. Default: UTC. |
Response
Returns a JSON object with tz, iso, and unix fields. tz is a string, iso is a string, and unix is an integer; these represent the timezone used, the current date/time in ISO format, and the current date/time as a Unix timestamp.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| tz | String | No | Timezone used to produce the date/time value. |
| iso | String | No | Current date and time as an ISO string. |
| unix | Integer | No | Current date and time as a Unix timestamp. |