Skip to content

Dates and times

Open .md

YoPrint stores every date-time in UTC. People see them in their own timezone.

  • Send date-times in UTC, in ISO 8601, ending in Z: 2026-11-03T15:00:00Z. Some fields accept an offset such as -07:00, but others keep the clock time you send and drop the offset, so Z is the only form that’s right everywhere.
  • A date alone, such as 2026-11-03, means midnight UTC on that day.
  • Read date-times back as UTC, and convert them to the shop’s timezone to show them.

A shop’s Tuesday doesn’t start at midnight UTC. Convert the start of its first day and the end of its last day, in the shop’s timezone, to UTC:

  1. The shop's daysTuesday 3 to Thursday 5 November
  2. In the shop's timezone00:00:00 on the 3rd to 23:59:59 on the 5th
  3. In UTC2026-11-03T05:00:00Z to 2026-11-06T04:59:59Z
Tuesday 3 to Thursday 5 November 2026, for a shop in America/New_York.

The web app schedules jobs and tasks in whole days, in the person’s timezone: from 00:00:00 on the first day to 23:59:59 on the last, sent as UTC. Do the same, and your schedules line up on the shop’s calendars. See Production.

Filters don’t take dates. A date condition’s value is a whole number of days from today, counted in UTC days, and a date string is refused with 422. v1 and v2 filters count the days differently, and neither lines up with your shop’s days. See Dates are days from today.