Blog Data formats No. 11

Dates on purchase orders: day first or month first?

03/04/2026 is the 3rd of April in the UK and most of the world, and the 4th of March in the United States. On a purchase order, the difference decides when goods are due. A delivery date read the wrong way round is a delivery a month early or a month late.

Why this keeps happening

Order documents come from systems with their own locale settings. A UK subsidiary of a US company may print US dates. A spreadsheet saved as PDF prints whatever the author's computer was set to. And the same document can print one date unambiguously (14/08/2026) and another ambiguously (03/09/2026).

Decide per document, not per date

The mistake is to decide each date on its own. Each date then gets its own guess, and a document can end up with an order date read day first and a delivery date read month first.

A better rule is to decide once for the whole document:

  1. Collect every numeric date on it: order date, delivery date, line delivery dates.
  2. If any has a first part greater than 12, the document is day first. 14/08/2026 can only be the 14th of August.
  3. If any has a second part greater than 12, the document is month first. 09/17/2026 can only be the 17th of September.
  4. If neither settles it, use the document's country: month first for the US, day first otherwise. Use the currency as a weaker hint when no country is printed.

This is what VioPO does. It reads the dates as printed, then makes one decision per document, then writes every date as YYYY-MM-DD.

Dates with the month in words

14 August 2026, Aug 14, 2026 and Friday 9th October 2026 are unambiguous, and ordinal endings and day names are easy to strip. Two-digit years (03-Sep-26) are taken as 20xx.

Dates that are not dates

Orders sometimes print "ASAP", "TBC", "week 42" or "end of month" where a date should be. These are not converted. VioPO leaves the date null and adds a warning that names what was printed, so a person can decide.

Sanity checks worth adding

On your side, a few checks catch most remaining problems:

  • a delivery date before the order date;
  • an order date more than a few weeks in the past or in the future;
  • a delivery date on a weekend or a public holiday, if you do not deliver then.

None of these means the date is wrong, but each is worth a look before the order is accepted.