Handling timestamps

Overview

Timestamps in TilliT are all in UTC and formatted as ISO 8601 strings such as 2020-12-14T04:49:27.159Z. Upon suppling an invalid date, the message timestamp must be in UTC YYYY-MM-DDTHH:MM:SSZ format as a string will appear in the 500 response.

Timestamp Format Examples

The following are all considered valid timestamp

2020-12-14T04:49:27.159Z
2020-12-14T04:49:27.159
2020-12-14T04:49
2020-12-14

The following are examples of invalid timestamps

14-12-2020T04:49:27.159Z 
2020-12-14T4:40:7.00Z
2020/12/14T04:49:27.159Z

Last updated