Date/Time Format And Time Zones
Date Input and Output in our APIs: Adhering to ISO 8601 Standard
Introduction
Consistency in date formatting is crucial for seamless communication between your application and our APIs. To ensure a standardized approach, our APIs follow the ISO 8601 standard for both input and output of date-related data. This guide will provide insights into how our APIs handle date information, promoting clarity and interoperability.
ISO 8601 Standard
ISO 8601 is an international standard for the representation of dates and times. It defines a format that is both human-readable and machine-readable, facilitating uniform handling of date-related data across different systems.
API Format
When sending date information to our APIs, use the ISO 8601 date format. The standard representation includes the year, month, and day, separated by dashes, followed by a separating "T" and hours, minutes and seconds:
{
"timestamp": "yyyy-MM-ddThh:mm:ssZ"
}
No offsets are supported. If you send us milliseconds, we accept them as valid input but ignore them.