Timestamp formats#
Timestamped readings can be submitted in different formats using the data field time
.
Example |
Description |
---|---|
2016-12-07T17:30:15.842428Z |
Human readable timestamp in ISO 8601 format, UTC |
2016-12-07T18:30:15+0100 |
Human readable timestamp, also ISO 8601, with UTC offset |
2016-12-07T18:30:15 CET |
ISO 8601 with custom timezone offset: Central European Time (CET). |
2016-12-07T18:30:15 |
ISO 8601 without timezone. Assume Europe/Berlin (CET) if no timezone is given. It will also account for daylight saving time (DST), so there’s no specific need to use CEST vs. CET during summer. |
1481131815000000000
1481131815000000
1481131815000
1481131815
|
Unix time in nano-, micro- milli-, or whole seconds. |
Note
Use http://www.epochconverter.com/ for converting epoch to human readable date and vice versa.
Have a look at http://www.epochconverter.com/#code for doing the same programmatically.