The date format that cannot be misread: what dd mmm yyyy and dd-mmm-yyyy mean, the month abbreviations, and how to produce it in Excel and code.
Last reviewed on 28 November 2026.
DD MMM YYYY is a date with a two-digit day, the month as a three-letter abbreviation, and a four-digit year. 2 October 2026 is 02 Oct 2026. With hyphens, DD-MMM-YYYY, it is 02-Oct-2026.
Today in DD MMM YYYY:
02 Oct 202601 to 31.Jan, Feb, Mar and so on.Because the month is letters and the year has four digits, the three parts cannot be confused with each other. 03 Apr 2026 means the same thing to a reader in London, New York or Tokyo, where 03/04/2026 does not. That is why the format is specified for clinical records, aviation, travel documents and any paperwork that crosses borders.
Pick a date to see it written in DD MMM YYYY, or paste a date such as 02-OCT-2026 to check it. Everything runs in your browser.
| Month | MMM | MON (capitals) | MM |
|---|---|---|---|
| January | Jan | JAN | 01 |
| February | Feb | FEB | 02 |
| March | Mar | MAR | 03 |
| April | Apr | APR | 04 |
| May | May | MAY | 05 |
| June | Jun | JUN | 06 |
| July | Jul | JUL | 07 |
| August | Aug | AUG | 08 |
| September | Sep | SEP | 09 |
| October | Oct | OCT | 10 |
| November | Nov | NOV | 11 |
| December | Dec | DEC | 12 |
Sep. MMM is exactly three letters, so the four-letter Sept does not fit the pattern, even though it is a common abbreviation in ordinary writing.02 May 2026 is correct in both DD MMM YYYY and DD MMMM YYYY.Oct, not Oct.Oct is the default. Systems that print OCT, such as Oracle and SAS, usually accept any case on input.| Date | DD MMM YYYY | DD-MMM-YYYY | DDMMMYYYY | DD MMM YY |
|---|---|---|---|---|
| 1 January 2026 | 01 Jan 2026 | 01-Jan-2026 | 01JAN2026 | 01 Jan 26 |
| 14 February 2026 | 14 Feb 2026 | 14-Feb-2026 | 14FEB2026 | 14 Feb 26 |
| 29 February 2028 | 29 Feb 2028 | 29-Feb-2028 | 29FEB2028 | 29 Feb 28 |
| 7 May 2007 | 07 May 2007 | 07-May-2007 | 07MAY2007 | 07 May 07 |
| 30 July 2025 | 30 Jul 2025 | 30-Jul-2025 | 30JUL2025 | 30 Jul 25 |
| 24 September 2026 | 24 Sep 2026 | 24-Sep-2026 | 24SEP2026 | 24 Sep 26 |
| 2 October 2026 | 02 Oct 2026 | 02-Oct-2026 | 02OCT2026 | 02 Oct 26 |
| 25 December 2026 | 25 Dec 2026 | 25-Dec-2026 | 25DEC2026 | 25 Dec 26 |
| Pattern | 2 October 2026 | Where you see it |
|---|---|---|
| DD MMM YYYY | 02 Oct 2026 | Reports, tickets, itineraries, international correspondence |
| DD-MMM-YYYY | 02-Oct-2026 | Clinical-trial documents and quality records; Excel's built-in d-mmm-yy style is a short relative |
| DD-MON-YYYY | 02-OCT-2026 | Oracle Database. MON is Oracle's code for the abbreviated month, printed in the case you type it |
| DDMMMYYYY | 02OCT2026 | SAS DATE9. format; airline and banking records |
| D MMM YYYY | 2 Oct 2026 | The same without the leading zero; common in prose and in military writing |
| DD MMM YY | 02 Oct 26 | Bank statements, accounting software, short columns |
| DD MMMM YYYY | 02 October 2026 | Full month name; formal letters and legal documents |
| MMM DD, YYYY | Oct 02, 2026 | US order with an abbreviated month |
| MMM YYYY | Oct 2026 | Month and year only |
They describe the same date layout in two notations. MMM is the code used by Excel, .NET, Java and JavaScript libraries; MON is the code used by Oracle and PostgreSQL. Oracle's MON prints OCT, Mon prints Oct and mon prints oct. If a specification written by a database team says DD-MON-YYYY, it means 02-OCT-2026.
Three Ms give the abbreviation (Oct), four give the full name (October). Two give the month number (10) and one gives the number without a leading zero. The token reference has the full list.
02 OCT 2026.DD-MON-RR, and SAS prints dates as 02OCT2026 with DATE9. or 02-OCT-2026 with DATE11.02 Oct 26.Write the day with two digits, a space, the first three letters of the month, a space, and the four-digit year: 30 Jul 2025. If the instruction shows hyphens (dd-mmm-yyyy), use hyphens instead: 30-Jul-2025. Do not write the month as a number, and do not write the full month name unless the form says dd mmmm yyyy.
Oct is only obvious to someone who reads English month names, and software produces the abbreviation in whatever language it is set to:
| Month | English | German | French | Spanish |
|---|---|---|---|---|
| May | May | Mai | mai | may |
| October | Oct | Okt. | oct. | oct |
| December | Dec | Dez. | déc. | dic |
A date printed as 02 Okt. 2026 on a German system will fail to parse on an English one. When a program has to read the value back, fix the language explicitly or use YYYY-MM-DD.
Sorted as text, 02 Oct 2026 lands before 15 Jan 2026: the list is ordered by day number, then alphabetically by month name. Keep the underlying value as a real date or an ISO string and use DD MMM YYYY only for display.
dd mmm yyyy or dd-mmm-yyyy. In a formula: =TEXT(A1,"dd mmm yyyy"). Add =UPPER(...) around it for 02 OCT 2026.2 Oct 2026 and 2-Oct-2026 as dates in English-language setups, and because the month is spelled out it cannot swap day and month.{ DATE \@ "dd MMM yyyy" }, with capital MMM.Each line below prints 02 Oct 2026 for 2 October 2026 when the language is English.
| Language or tool | Format a date as DD MMM YYYY | Pattern |
|---|---|---|
| Excel, Google Sheets | =TEXT(A1,"dd mmm yyyy") | dd mmm yyyy |
| JavaScript | d.toLocaleDateString('en-GB', {day:'2-digit', month:'short', year:'numeric'}) | locale en-GB |
| Python | d.strftime('%d %b %Y') | %d %b %Y |
| Java | DateTimeFormatter.ofPattern("dd MMM yyyy", Locale.ENGLISH) | dd MMM yyyy |
| C# / .NET | d.ToString("dd MMM yyyy", CultureInfo.InvariantCulture) | dd MMM yyyy |
| PHP | $d->format('d M Y') | d M Y |
| MySQL | DATE_FORMAT(d, '%d %b %Y') | %d %b %Y |
| PostgreSQL | TO_CHAR(d, 'DD Mon YYYY') | DD Mon YYYY |
| Oracle | TO_CHAR(d, 'DD-MON-YYYY') gives 02-OCT-2026 | DD-MON-YYYY |
| SQL Server | CONVERT(varchar(11), d, 106) | style 106 |
| SAS | put(d, date9.) gives 02OCT2026 | DATE9. |
Sept for British and Australian English, so the en-GB line above returns 02 Sept 2026 in September. If you need a strict three-letter month, take it from en-US or from your own list of twelve abbreviations.%b follows the process locale. It is English by default but changes if the program calls locale.setlocale.datetime.strptime('02 Oct 2026', '%d %b %Y') in Python, TO_DATE('02-OCT-2026', 'DD-MON-YYYY') in Oracle, STR_TO_DATE(s, '%d %b %Y') in MySQL.^(0[1-9]|[12][0-9]|3[01])[ -](Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)[ -][0-9]{4}$
This accepts a space or a hyphen as the separator. Add a case-insensitive flag to allow OCT. Like any pattern it checks the shape only and will accept 31 Feb 2026.
DD MMM YYYY means a two-digit day, the three-letter abbreviation of the month, and a four-digit year, separated by spaces. 2 October 2026 is written 02 Oct 2026.
30 July 2025 is 30-Jul-2025, 24 September 2026 is 24-Sep-2026 and 2 October 2026 is 02-Oct-2026. It is the same as DD MMM YYYY with hyphens instead of spaces.
MMM is the month written as a three-letter abbreviation: Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov or Dec. MM is the month as a two-digit number and MMMM is the full month name.
As Sep. The MMM code is exactly three letters, so 24 September 2026 is 24-Sep-2026, not 24-Sept-2026.
The month is letters, the year has four digits and the day has two, so no part can be mistaken for another. A date like 03 Apr 2026 has only one reading, whereas 03/04/2026 could be 3 April or March 4.
They are two notations for the same layout. MMM is the code used by Excel, Java, .NET and JavaScript libraries. MON is the code used by Oracle and PostgreSQL, where writing it in capitals prints the month in capitals: 02-OCT-2026.
DATE9. is a SAS format that prints a date as DDMMMYYYY with the month in capitals and no separators, nine characters in all: 02OCT2026. DATE11. adds hyphens: 02-OCT-2026.
The same layout with a two-digit year, so 2 October 2026 is 02 Oct 26. It is common on bank statements and in accounting software.
Select the cells, press Ctrl+1, choose Custom and enter dd mmm yyyy. In a formula use =TEXT(A1,"dd mmm yyyy").