Date and time formatting

To ensure consistency across the fulfillmenttools platform, all date and time attributes in API requests must follow a defined schema. The platform requires ISO 8601 / RFC 3339–based timestamps for all date and time values.

Date-Time

date-time is used when the specific time (including timezone) is relevant. Valid ISO 8601 date-time strings in UTC include:

  • 2024-03-21T13:00:12Z

  • 2024-03-21T13:00:12.123Z

  • 2024-03-21T13:00:12.123456Z

  • 2024-03-21T13:00:12.123456789Z

Dates

If the time component is not required, date is used. A valid date string would be, for example, 2020-02-03 .

Times

For attributes such as facility opening times, the HH:MM format is used. If higher precision is needed (seconds or milliseconds), the pattern HH:MM:ss:SSS is used.

Time Duration

Durations must be defined using ISO 8601 duration notation (e.g., P30D for 30 days). Negative values move the date backwards.

Last updated