What the mm/dd/yyyy date format means, how to write and read it, where it is used, and how to convert it to day-first or ISO dates.
Last reviewed on 28 November 2026.
MM/DD/YYYY is a date written month first: two digits for the month, two for the day and four for the year, separated by slashes. October 2, 2026 is 10/02/2026.
Today in MM/DD/YYYY:
10/02/202601 (January) to 12 (December).01 to 31.MM/DD/YYYY is the standard numeric date in the United States. It follows the way Americans say a date aloud: "October 2, 2026" becomes 10/02/2026. Almost everywhere else the first number is the day, so the same string reads as 10 February outside the US. If your readers are international, see the ambiguity section before you rely on it.
Pick a date to see it written in MM/DD/YYYY, or paste a date to check what it means. Everything runs in your browser.
| Code | Meaning | Allowed values | In 10/02/2026 |
|---|---|---|---|
| MM | Month number, two digits | 01–12 | 10 (October) |
| DD | Day of the month, two digits | 01–31 (01–28, 29 or 30 in shorter months) | 02 |
| YYYY | Year, four digits | 0001–9999 | 2026 |
| / | Separator | A slash; a hyphen (MM-DD-YYYY) is the common alternative | / |
Each letter stands for one digit, so a full MM/DD/YYYY date is always ten characters long. Single-digit months and days get a leading zero: July 4, 2026 is 07/04/2026.
| Date | MM/DD/YYYY | M/D/YYYY | MM-DD-YYYY | MM/DD/YY |
|---|---|---|---|---|
| January 1, 2026 | 01/01/2026 | 1/1/2026 | 01-01-2026 | 01/01/26 |
| February 14, 2026 | 02/14/2026 | 2/14/2026 | 02-14-2026 | 02/14/26 |
| February 29, 2028 | 02/29/2028 | 2/29/2028 | 02-29-2028 | 02/29/28 |
| May 7, 2007 | 05/07/2007 | 5/7/2007 | 05-07-2007 | 05/07/07 |
| July 4, 2026 | 07/04/2026 | 7/4/2026 | 07-04-2026 | 07/04/26 |
| October 2, 2026 | 10/02/2026 | 10/2/2026 | 10-02-2026 | 10/02/26 |
| November 2, 2026 | 11/02/2026 | 11/2/2026 | 11-02-2026 | 11/02/26 |
| December 25, 2026 | 12/25/2026 | 12/25/2026 | 12-25-2026 | 12/25/26 |
So the MM/DD/YY for November 2, 2026 is 11/02/26, and May 7, 2007 written as six digits (MMDDYY) is 050707.
03).A date of birth of March 5, 1990 goes in as 03/05/1990. Most date fields insert the slashes as you type.
mm/dd/yyyy and MM/DD/YYYY mean the same thing to a person filling in a field. The case only matters in software format strings, where lowercase mm usually means minutes and the month has to be MM.05/03/1990 will be stored as May 3.10/2026 or 10/26.| Pattern | October 2, 2026 | Where you see it |
|---|---|---|
| MM/DD/YYYY | 10/02/2026 | US forms, documents and software that pads to two digits |
| M/D/YYYY | 10/2/2026 | Everyday US writing; the default short date on US-English Windows and in most browsers |
| MM-DD-YYYY | 10-02-2026 | The same format with hyphens; common in file names, where a slash is not allowed |
| MM/DD/YY | 10/02/26 | Receipts, checks and short fields |
| MMDDYYYY | 10022026 | Digits-only fields on US forms and in data files |
| MM/DD | 10/02 | Month and day with no year, as in a birthday or a recurring deadline |
| MMMM D, YYYY | October 2, 2026 | US prose style, with the month as a word |
| MM/DD/YYYY hh:mm tt | 10/02/2026 02:05 PM | US date followed by a 12-hour time |
The only difference is the leading zeros. M/D/YYYY writes March 5 as 3/5/2026; MM/DD/YYYY writes it as 03/05/2026. Mixed forms such as M/DD/YYYY (3/05/2026) and MM/D/YYYY (03/5/2026) are valid patterns in most software but rarely wanted. For people, either works. For data, the padded form is better: every value has the same length, so columns line up and fixed-width parsers do not break.
Everywhere else writes the day or the year first. Even inside the US there are exceptions: the military writes the day first (2 Oct 2026), and software, science and data exchange largely use ISO 8601. For the history behind the American order, see why the US writes the month first.
Nothing in 03/04/2026 says whether it is March 4 (US) or 3 April (most other countries). A date is only self-evidently month first when the second number is 13 or more, as in 10/25/2026. For 132 days of every year both readings are valid dates.
MM/DD/YYYY has one more drawback for data: it does not sort. Sorted as text, 01/15/2027 comes before 12/31/2026, because the month is compared before the year. For anything that will be sorted, stored or sent abroad, write 2026-10-02, or spell the month out as in 02 Oct 2026.
Swap the first two numbers and keep the year: 10/02/2026 becomes 02/10/2026. The checker above does it for single dates. For a spreadsheet column:
dd/mm/yyyy.=DATE(RIGHT(A1,4),LEFT(A1,2),MID(A1,4,2)) builds a real date from MM/DD/YYYY text whatever the system's region.Each line below prints 10/02/2026 for October 2, 2026.
| Language or tool | Format a date as MM/DD/YYYY | Pattern |
|---|---|---|
| Excel, Google Sheets | =TEXT(A1,"mm/dd/yyyy") | mm/dd/yyyy |
| JavaScript | d.toLocaleDateString('en-US', {month:'2-digit', day:'2-digit', year:'numeric'}) | locale en-US |
| Python | d.strftime('%m/%d/%Y') | %m/%d/%Y |
| Java | DateTimeFormatter.ofPattern("MM/dd/yyyy") | MM/dd/yyyy |
| C# / .NET | d.ToString("MM/dd/yyyy", CultureInfo.InvariantCulture) | MM/dd/yyyy |
| PHP | $d->format('m/d/Y') | m/d/Y |
| MySQL | DATE_FORMAT(d, '%m/%d/%Y') | %m/%d/%Y |
| PostgreSQL, Oracle | TO_CHAR(d, 'MM/DD/YYYY') | MM/DD/YYYY |
| SQL Server | CONVERT(varchar(10), d, 101) | style 101 |
toLocaleDateString('en-US') gives 10/2/2026 with no leading zeros. Browsers do parse new Date('10/02/2026') as October 2, but that behaviour is a convention rather than part of the language standard, so an explicit parser is safer.datetime.strptime(s, '%m/%d/%Y'). pandas assumes month first by default when a date is ambiguous.strtotime('10/02/2026') treats slash-separated dates as American month/day.MM. Lowercase mm is minutes, and mm/dd/yyyy will quietly print the current minute where the month should be.^(0[1-9]|1[0-2])/(0[1-9]|[12][0-9]|3[01])/[0-9]{4}$
This checks the shape only: it accepts 02/31/2026, which is not a real date. Follow it with a real date check.
MM/DD/YYYY means month, day, year: a two-digit month (01 to 12), a two-digit day (01 to 31) and a four-digit year, separated by slashes. October 2, 2026 is written 10/02/2026.
July 4, 2026 is 07/04/2026, Christmas Day 2026 is 12/25/2026 and November 2, 2026 is 11/02/2026. Months and days below ten keep a leading zero.
Mainly the United States and its territories. The Philippines also commonly writes the month first, and Canada uses a mix of month-first, day-first and year-first dates. Nearly every other country writes the day or the year first.
On forms and in documents the case does not matter: mm/dd/yyyy and MM/DD/YYYY mean the same thing. In software it can matter. In Java, .NET and Word field codes, MM is the month and lowercase mm is minutes, so the correct pattern is MM/dd/yyyy. Excel accepts either case.
Leading zeros. M/D/YYYY writes March 5, 2026 as 3/5/2026, while MM/DD/YYYY pads both parts to two digits: 03/05/2026. The padded form always has ten characters, which makes it better for forms, file names and data.
It is the same month-first order with a two-digit year. November 2, 2026 is 11/02/26. The century is not stated, so use four-digit years for anything that needs to be unambiguous.
The numeric format mirrors the way dates are spoken in American English: "October 2, 2026" becomes 10/02/2026. British English settled on "2 October 2026" and its numeric form followed, giving 02/10/2026.
Swap the first two numbers and keep the year, so 10/02/2026 becomes 02/10/2026. In Excel, if the cells are real dates, apply the custom format dd/mm/yyyy. If they are text, use Data, Text to Columns and choose the MDY date format so Excel reads them correctly first.