# Datetimes Grouped by Local Time Zone

Metrics returned from the API are sometimes aggregated across multiple locations and multiple timezones. To make this data easy to compare, metric date-times are grouped based on the time zone in which they were recorded. The results returned do not include time zone information because the data could represent multiple time zones.

**For example:**

Location 1 is in PST and records a foot traffic event at 2pm PST (10pm UTC). Location 2 is located in EST and records a foot traffic event at 2pm EST (7pm UTC).

If a request is made with the following parameters:

| Parameter       | Value               |
| --------------- | ------------------- |
| datetime\_start | 2019-01-01T14:00:00 |
| datetime\_end   | 2019-01-01T15:00:00 |
| interval        | hour                |

Since both events were recorded during the same hour, relative to the time zone of the location where the sensor was installed, the foot traffic events recorded at each location will be included for a total count of 2 foot traffic events.

{% tabs %}
{% tab title="Example Request" %}

```
 curl "https://api.getdor.com/v2/team-metrics?datetime_start=2019-01-01T14:00:00&datetime_end=2019-01-01T15:00:00&interval=hour" \
    -u tm_8hHhG7gf9shhd:0ShG8gLReppO9Vm74PUSyesec87EhH;
```

{% endtab %}
{% endtabs %}

#### &#x20;<a href="#example-request" id="example-request"></a>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.getdor.com/dtm-docs/dtm-api/datetimes/datetimes-grouped-by-local-time-zone.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
