Time Zone

Overview

Return a collection of time zones.

 

API URL

/api/constants/timezones

 

HTTP Method

GET

 

Response

An HTTP code of 200 is responded for each successful data requests. The message body contains a JSON string listing all time zones.

 

Examples

{

    "result": "success",

    "server_time": "2022-03-09T09:01:14Z",

    "timezones": {
        "Pacific/Pago_Pago": "UTC -11:00",

        "Pacific/Honolulu": "UTC -10:00",

        "America/Juneau": "UTC -08:00",

        "America/Los_Angeles": "UTC -07:00",

        "America/Phoenix": "UTC -07:00",

        "America/Tijuana": "UTC -07:00",

        "America/Denver": "UTC -06:00",

        ......

    }

}