Time Zones
Get time zone
get/v1/time_zones/{time_zone}
Request
- Base URLhttps://api.savvycal.com
- Auth
- OAuth 2Authorization code/oauth/authorizeToken URL/oauth/token
- or HTTP bearer
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
time_zonestring required
The IANA time zone ID, such as America/Chicago. Send the slashes as-is, not URL-encoded as %2F.
Query parameters
instantstring date-time
The moment to describe the time zone at. Defaults to the current time.
Response
Success
Example response
{
"abbreviation": "CST",
"aliases": [
"US/Central"
],
"canonical": true,
"dst": false,
"formatted_offset": "-06:00",
"generic_long_name": "Central Time",
"golden": true,
"id": "America/Chicago",
"legacy": false,
"long_name": "Central Standard Time",
"metazone": {
"exemplar_city": null,
"long": {
"current": "Central Standard Time",
"daylight": "Central Daylight Time",
"generic": "Central Time",
"standard": "Central Standard Time"
},
"name": "America_Central",
"short": {
"current": "CST",
"daylight": "CDT",
"generic": "CT",
"standard": "CST"
},
"territories": [
"001"
]
},
"offset": -21600,
"offset_std": 0,
"offset_utc": -21600,
"period": {
"from": "2023-11-05T01:00:00-05:00",
"until": "2024-03-10T01:59:59.999999-06:00"
},
"windows_zone": {
"name": "Central Standard Time"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.