Ambiguous Date Format Checker
Distinguish DD/MM/YYYY from MM/DD/YYYY.
How the Ambiguous Date Format Checker Works
The Ambiguous Date Format Checker reads a date such as 04/07/2026 and reports whether the date is valid as DD/MM/YYYY, MM/DD/YYYY or both.
Enter the date string
Enter a date with slashes, dashes or dots, such as 04/07/2026.
Split into parts
The checker splits the text into 3 numbers.
Test both orders
The checker tests day-month-year and month-day-year.
Read the verdict
The result shows both readings, if both are valid, or the single valid reading.
How the Count Is Calculated
The Ambiguous Date rule tests the first 2 numbers against month and day ranges.
Valid DMY: 1 ≤ A ≤ 31 and 1 ≤ B ≤ 12
Valid MDY: 1 ≤ A ≤ 12 and 1 ≤ B ≤ 31
Ambiguous = Valid DMY and Valid MDY and A ≠ B- A
- The first number in the string.
- B
- The second number in the string.
- A = B
- Same day and month, such as 05/05, gives 1 date either way.
Example: 04/07/2026 is ambiguous: 4 July 2026 in DD/MM/YYYY and 7 April 2026 in MM/DD/YYYY. 13/07/2026 is valid only as 13 July 2026.
Worked Examples
The table checks sample date strings.
| Input | DD/MM/YYYY | MM/DD/YYYY | Verdict |
|---|---|---|---|
| 04/07/2026 | 4 Jul 2026 | 7 Apr 2026 | Ambiguous |
| 12/11/2026 | 12 Nov 2026 | 11 Dec 2026 | Ambiguous |
| 05/05/2026 | 5 May 2026 | 5 May 2026 | Same date |
| 13/07/2026 | 13 Jul 2026 | invalid | DMY only |
| 07/13/2026 | invalid | 13 Jul 2026 | MDY only |
| 2026-07-04 | — | — | ISO 8601: 4 Jul 2026 |
What the Tool Measures
An Ambiguous Date Format Checker is a tool that detects dates that read differently in day-first and month-first formats.
Each year holds 132 ambiguous dates: the 144 dates with a day of 12 or less, minus the 12 dates where day equals month. The US uses MM/DD/YYYY, most of Europe, Asia and Africa use DD/MM/YYYY, and ISO 8601 uses YYYY-MM-DD.
When to Use This Tool
There are 4 main uses of the Ambiguous Date Format Checker, including data cleaning and international forms.
Data cleaning
Analysts flag rows that need a format decision before import.
International forms
Teams spot dates that customers from different countries enter differently.
Travel documents
Travelers confirm visa and ticket dates printed in foreign formats.
Contract review
Lawyers spot dates that change meaning across jurisdictions.