Datetime Formats
Last updated
Last updated
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.
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