Time Zones
List time zones
get/v1/time_zones
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.
Query parameters
instantstring date-time
The moment to describe the time zones at. Defaults to the current time.
include_legacyboolean
Include legacy time zones, such as EST. Only true includes them.
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"
}
},
{
"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.