Skip to content
Try For Free
Bizstim
Free tools
Pricing Contact Log in
Try For Free Book Demo
Home / API Reference / Timezones
Resource

Timezones

The time zone names accepted in timezone fields, with their UTC offsets.

The timezone object

Every timezone record carries these fields in this order, after object, which is always "timezone".

FieldTypeDescription
country_codestring, up to 2 charactersTwo-letter country code. Empty on alias names that link to another zone (e.g. America/Buenos_Aires).
timezonestring, up to 32 charactersThe name to send in timezone fields, e.g. America/New_York.
utc_offsetstring, up to 8 charactersOffset from UTC in standard time, e.g. +05:30. A negative offset starts with the Unicode minus sign (−, U+2212), not a hyphen.
utc_dst_offsetstring, up to 8 charactersOffset from UTC while daylight saving time is in effect; the same as utc_offset where the zone has none. A negative offset starts with the same minus sign.

Example

{
    "object": "timezone",
    "country_code": "CA",
    "timezone": "America/Toronto",
    "utc_offset": "UTC-05:00",
    "utc_dst_offset": "UTC-04:00"
}

List time zones

GET /api/v1/timezones

Parameters

ParameterInDescription
limitqueryRecords per page, 1 to 1000 (default 100).
offsetqueryRecords to skip (default 0).

Returns

A list envelope of timezone records (see Pagination).

Request

curl "https://www.bizstim.com/api/v1/timezones" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Accept: application/json"

Response

{
    "object": "list",
    "total": 2,
    "limit": 100,
    "offset": 0,
    "has_more": false,
    "data": [
        {
            "object": "timezone",
            "country_code": "CA",
            "timezone": "America/Toronto",
            "utc_offset": "UTC-05:00",
            "utc_dst_offset": "UTC-04:00"
        },
        {
            "object": "timezone",
            "country_code": "CA",
            "timezone": "America/Toronto",
            "utc_offset": "UTC-05:00",
            "utc_dst_offset": "UTC-04:00"
        }
    ]
}