Notes on various formats and quirks.
Dates
We respect the ISO 8601 date format for all of our dates. That means dates look like this:
2022-10-04T05:20:00.000Z
That translates to October 4th, 2022 at 5:20 AM in UTC time (which is the time this was first written). That is equivalent to October 4th, 2022 at 1:20am in Eastern time.
Durations
Similar to dates, we respect the ISO 8601 format for durations. This format is a bit less intuitive. It looks like this:
P1DT12H30M
That translates to 1 day, 12 hours, and 30 minutes. There are other letters that represent years, months, and seconds but you can leave them off if they are 0. The T
value is a separator between the "date" portion and the "time" portion of the duration.
If you use Javascript, we recommend the Luxon library which does a good job handling ISO format. But most libraries, including the native Date
object, will have some support.