---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/dev/direct/doc/dg-v4/en/reference/GetTimeZones.md
  - https://yandex.com/dev/direct/doc/dg-v4/ru/reference/GetTimeZones.md
  - href: en/reference/GetTimeZones.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/dg-v4/en/llms.txt

# GetTimeZones
Returns a list of time zones.
Information about time zones can be necessary when editing a campaign to set time targeting options.


## Input data {#input}

The input data structure in JSON is shown below.

```javascript
{
   "method": "GetTimeZones"
}
```


## Output data {#output}

The method returns an array of `TimeZoneInfo` objects, each of which corresponds to a single time zone. The output data structure in JSON is shown below.

```javascript
{
   "data": [
      {  /* TimeZoneInfo */
         "TimeZone": (string),
         "GMTOffset": (int),
         "Name": (string)
      }
      ...
   ]
}
```

Parameters are described below.


#|
||
**<sup >Parameter</sup>**
|
**<sup >Description</sup>**
||

||
**<sub >TimeZoneInfo object</sub>**
||
||
`TimeZone`
|
Time zone designation.
||
||
`GMTOffset`
|
Difference from GMT time, in seconds.
||
||
`Name`
|
The name of the time zone.
||
|#

