# Datetime Formats

The DTM API uses both datetimes with time zone information attached as well as datetimes that are aggregated by local time and contain no time zone information.

Some endpoints allow you to query for data bounded by a datetime range. The following options are provided.

#### Query parameters <a href="#query-parameters" id="query-parameters"></a>

| Name               | Type             | Format               | Example                   | Description                                                                         |
| ------------------ | ---------------- | -------------------- | ------------------------- | ----------------------------------------------------------------------------------- |
| datetime\_start    | Date-time String | YYYY-MM-DDThh:mm:ss  | 2020-02-14T00:00:00       | The lower bound datetime (inclusive) for querying data, relative to local time zone |
| datetime\_end      | Date-time String | YYYY-MM-DDThh:mm:ss  | 2020-02-14T00:00:00       | The upper bound datetime (exclusive) for querying data, relative to local time zone |
| updated\_at\_start | Date-time String | YYYY-MM-DDThh:mm:ssZ | 2020-02-14T00:00:00+00:00 | Datetime for querying data that has been updated since that datetime, UTC datetime  |


---

# 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/datetime-formats.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.
