ConvertCSV

CSV Date Formats: US vs UK, Australia, Canada, and Germany

By Convert CSV Editorial TeamLast updated August 3, 2026

Stop CSV date swaps between MM/DD/YYYY and DD/MM/YYYY. Learn safe ISO dates, Excel pitfalls, and how US, UK, Australian, Canadian, and German files differ.

Why CSV Dates Cause Silent Data Corruption

CSV stores dates as text or as Excel serial numbers exported poorly. When a US teammate opens a UK export — or a German SAP dump lands in a US spreadsheet — days and months swap for every date where the day is 1–12. The file still “opens.” Totals still look plausible. Reports are wrong.

This is one of the highest-impact CSV problems for teams spanning the United States, Canada, the United Kingdom, Australia, and Germany.

Regional Patterns at a Glance

Memorize the default people expect — then verify the actual file.

Country / localeCommon written dateCSV risk
United StatesMM/DD/YYYY (03/05/2026 = March 5)Misreads UK/AU/DE day-first files
United KingdomDD/MM/YYYY (03/05/2026 = 3 May)Misreads US month-first files
AustraliaDD/MM/YYYYSame as UK; Excel US locale breaks it
CanadaMixed: en-CA often YYYY-MM-DD; also DD/MM or MM/DDTeams disagree inside one company
GermanyDD.MM.YYYY (03.05.2026) or DD/MM/YYYYDots + semicolon CSV compound Excel issues

The Ambiguous Zone: Days 1–12

Any date with day ≤ 12 can be parsed two ways. That is the danger zone.

  • If half your dates import and half become text, you almost certainly have mixed or foreign order.
  • QA with a known date outside 1–12 (e.g., the 13th or 23rd) to detect swaps.
Text in CSVUS Excel guessUK/AU Excel guess
03/05/2026March 5, 20263 May 2026
05/03/2026May 3, 20265 March 2026
13/05/2026Often rejected or kept as text13 May 2026
05/13/2026May 13, 2026Often rejected or kept as text

Prefer ISO 8601 in Shared CSV Files

YYYY-MM-DD is unambiguous across US, UK, AU, CA, and DE teams. Use it whenever the destination system allows.

order_id,order_date,ship_date,amount
A-1001,2026-03-05,2026-03-08,149.00
A-1002,2026-05-13,2026-05-15,89.50

When ISO is not allowed

Some bank and ERP importers demand a fixed local mask. Then match that mask exactly — do not “improve” it to ISO mid-flight — and document the locale in the filename (e.g., bank-uk-ddmmyyyy.csv).

Step-by-Step: Normalize Dates Before Import

A reliable cleanup pass for cross-border files.

  • Identify the source locale (bank country, ERP country, or who exported Excel).
  • Open a copy in the Online CSV Editor or a text editor — not only Excel.
  • Confirm whether separators are /, -, or . (German files often use dots).
  • Pick the target format required by the destination system.
  • Convert with an explicit parse locale → explicit output format (never rely on Excel’s silent guess).
  • Spot-check rows where day > 12 and a few rows where day ≤ 12.
  • Only then upload to QuickBooks, Xero, Shopify, or your database.

Python: parse UK dates to ISO

Explicit day-first parsing avoids US-centric defaults:

from datetime import datetime
import csv

with open("uk_bank.csv", newline="", encoding="utf-8") as inp, \
     open("iso_bank.csv", "w", newline="", encoding="utf-8") as out:
    reader = csv.DictReader(inp)
    writer = csv.DictWriter(out, fieldnames=reader.fieldnames)
    writer.writeheader()
    for row in reader:
        row["Date"] = datetime.strptime(row["Date"], "%d/%m/%Y").strftime("%Y-%m-%d")
        writer.writerow(row)

Python: parse US dates to ISO

Month-first when the source is US:

row["Date"] = datetime.strptime(row["Date"], "%m/%d/%Y").strftime("%Y-%m-%d")

Python: parse German dotted dates

Common in DE exports:

row["Date"] = datetime.strptime(row["Date"], "%d.%m.%Y").strftime("%Y-%m-%d")

Excel Behaviors That Rewrite Your CSV

Double-clicking a CSV in Excel is not a neutral preview — it is a conversion.

  • Excel applies the OS / Office locale to interpret date-looking text.
  • Saving again can permanently rewrite 03/05/2026 to the other order.
  • Date columns may become serial numbers; other tools then see 45320 instead of a date.
  • Use Data → From Text/CSV and set the column type explicitly when possible.
  • For delivery, prefer exporting ISO text or a documented local mask as text-formatted columns.

Keep dates as text when needed

Prefixing with a single quote in Excel, or formatting the column as Text before typing, prevents auto-conversion. In CSV, wrapping is not enough if Excel already converted the value on open.

Germany: Dots, Semicolons, and Decimals

German CSV issues stack three locale features at once.

  • Dates often appear as DD.MM.YYYY.
  • Fields may be semicolon-separated because comma is the decimal mark.
  • Amounts like 1.234,56 mean one thousand two hundred thirty-four euros and fifty-six cents.
  • Convert delimiter and decimal rules separately from date parsing — do not run a blind replace of . or , across the whole file.
Datum;Beschreibung;Betrag
03.05.2026;Hosting;42,18
13.05.2026;Kundenzahlung;1500,00

Finance Systems: QuickBooks, Xero, and Banks

Accounting imports inherit organisation locale.

  • US QuickBooks companies often expect MM/DD/YYYY bank CSVs.
  • UK/AU Xero organisations often expect DD/MM/YYYY.
  • Canadian firms should standardize in an SOP — do not leave it to each bookkeeper’s Excel.
  • When converting OFX/QFX/QIF to CSV, re-check the date column immediately; converters preserve source order but Excel may still reinterpret on open.

Databases and APIs

For MySQL, PostgreSQL, and app imports, prefer ISO dates in CSV.

  • Store DATE/TIMESTAMPTZ in the database, not locale-formatted strings.
  • Accept locale strings only at the edge; normalize before INSERT.
  • Reject rows that do not match the expected mask instead of guessing.
-- PostgreSQL: explicit cast from ISO text
COPY orders(order_id, order_date, amount)
FROM '/path/orders.csv'
WITH (FORMAT csv, HEADER true);

-- Prefer order_date values like 2026-03-05

Common Mistakes

Avoid these shortcuts.

  • Sorting on a date column that is still text in DD/MM order (lexicographic sort ≠ chronological).
  • Merging US and UK CSVs without normalizing first.
  • Trusting Excel’s display format as the stored value.
  • Replacing all / with - without changing field order.
  • Assuming Canada equals US date order.
  • Parsing with JavaScript Date on bare MM/DD strings in a UK browser (engine/locale dependent).

Best Practices

Make dates boring and explicit.

  • Default shared pipelines to YYYY-MM-DD.
  • Name files with locale when a local mask is required.
  • Validate with an assertion: day-of-month known sample survives round-trip.
  • Document the expected mask in the runbook next to each importer.
  • Preview in a locale-neutral editor before Excel.

Why Use Convert CSV Online?

Convert CSV Online is free, browser-based, and requires no account for everyday conversions. Inspect date columns in the Online CSV Editor without immediately subjecting them to desktop Excel’s locale guess. Convert finance downloads and re-export clean CSV/Excel for US, UK, Australian, Canadian, and German teammates on Windows, macOS, or Linux browsers.

Inspect dates before Excel rewrites them

Open the CSV, verify a few known rows, fix formatting, then download for your importer.

Conclusion

CSV date bugs are regional contracts colliding. Know the source locale, know the destination mask, prefer ISO for interchange, and never let Excel silently re-interpret days 1–12 across US, UK, Australian, Canadian, and German files.

FAQ

What is the best date format for CSV files?

YYYY-MM-DD (ISO 8601) is the safest for sharing across countries. Use a local mask only when a specific importer requires it.

Is 03/05/2026 March 5 or 3 May?

In the US it is usually March 5. In the UK and Australia it is usually 3 May. The CSV text alone cannot tell you — you need the source locale.

Why did Excel change my CSV dates?

Excel parses date-looking text using the application’s locale when you open CSV. Saving can permanently rewrite values. Import with explicit column types or keep dates as preformatted ISO text.

How do German CSV dates look?

Often DD.MM.YYYY with dots, sometimes alongside semicolon delimiters and comma decimals. Parse the date pattern separately from delimiter conversion.

Should Canadian CSVs use US dates?

Not automatically. Canada mixes conventions. Agree on ISO or a documented mask per system; do not assume en-US.

How can I tell if dates were swapped?

Check a transaction you know occurred on day 13 or later. If it disappeared, became text, or landed in the wrong month, the parse order is wrong.

References

Convert your CSV in the browser

Preview, clean, and convert CSV files free with Convert CSV Online—no installation and no account required for everyday conversions.