Dates

Information around date formats within the API.

Requests

Date ranges are supported in several endpoints. Whilst the input field names differ between endpoints, the format remains the same.

Unix timestamp

You can pass in an UNIX timestamp epoch such as 1730206677, which translates to Tuesday, 29 October 2024 12:57:57.

Date format

You can also pass in a date string such as 2024-10-29. When using this format, the time of day will be dependent on the context in which the date is used. IE if the field is a start date, the time will be set to 00:00:00 and if an end date, it will be set to 23:59:59.

Datetime format

The time can also be included along with the date, such as 2024-10-29 12:57:57.