How to write dates in Canada
How Canadians write dates: the recommended YYYY-MM-DD numeric format, English and French written styles, and how to convert and check dates without changing their meaning.
The short answer
Canada has no single date format that everyone uses. For all-numeric dates, government style guidance recommends year-month-day, written YYYY-MM-DD. This is the international ISO 8601 order, for example 2026-10-31. In English sentences, Canadians usually spell out the month, as in October 31, 2026, or sometimes 31 October 2026. In French, the day comes first and the month is lowercase, as in le 31 octobre 2026. Short slash dates such as 10/31/2026 and 31/10/2026 both appear in everyday Canadian use. Avoid them whenever a reader could misread the order.
What a date format controls in your text
A date format is a rule for writing a calendar date as text. It sets the order of year, month and day, the separator between them, and whether the month appears as a number or a word. Reformatting a date rearranges characters but must never change the date itself. Localization tools and scripts apply these rules when they adapt text for a Canadian English or Canadian French audience. Their input is a date written in one convention, and their output is the same date in another.
| Style | Example | Where it fits |
| ISO numeric (YYYY-MM-DD) | 2026-10-31 | Forms, data files, file names, bilingual or international documents |
| English, month first | October 31, 2026 | Running English text, letters, articles |
| English, day first | 31 October 2026 | Running English text in some organizations' house styles |
| French | le 31 octobre 2026 | Running French text |
| Slash numeric | 10/31/2026 or 31/10/2026 | Common informally, but ambiguous; avoid when clarity matters |
Why slash dates cause trouble
Both month-first and day-first slash dates circulate in Canada. Some readers will take 04/05/2026 as April 5 and others as 4 May. Nothing in the text itself settles the question. A date such as 31/10/2026 is only unambiguous because no month 31 exists. Year-month-day avoids the problem, because the four-digit year comes first and the order that follows is fixed.
Writing dates in Canadian English
- Capitalize the month: October 31, 2026.
- In month-day-year order, put a comma after the day. Many style guides also put a comma after the year when the sentence continues.
- In day-month-year order, use no commas: 31 October 2026.
- Most editorial style guides advise against ordinal suffixes in full dates, so write October 31 rather than October 31st.
- Pick one written order and apply it consistently throughout a document.
Writing dates in Canadian French
- Put the day before the month: 31 octobre 2026.
- Write months and days of the week in lowercase: le samedi 31 octobre 2026.
- Use the ordinal form only for the first day of the month: le 1er octobre 2026.
- Do not put a comma between the month and the year.
- In a sentence, the date is usually introduced by le, as in « La réunion aura lieu le 31 octobre 2026 ».
How to convert dates and check the result
Before converting anything, confirm the order used in the source text. A slash date cannot be converted safely if you do not know whether it is month-first or day-first. Keep an unmodified copy of the original text. Once an ambiguous date has been rewritten, the original is the only reliable record of what it meant.
- 1. Identify the source format from context, such as the document's origin, a header, or a date with a value above 12.
- 2. Choose the target format: YYYY-MM-DD for data and forms, or a spelled-out English or French date for prose.
- 3. Run the conversion on a copy, or preview the output without overwriting the file.
- 4. Compare a sample of converted lines against the originals.
- 5. Search for any dates the conversion missed.
- 6. Only then replace the original, keeping a backup.
Example, untested: with GNU date on Linux, you can print a known date in ISO form. GNU date reads slash input as month/day/year, so do not use it for day-first slash dates.
date -d '2026-10-31' '+%Y-%m-%d'
# expected: 2026-10-31
date -d '10/31/2026' '+%Y-%m-%d'
# slash input is read as month/day/year; expected: 2026-10-31
Example, untested: to rewrite day-first dates (DD/MM/YYYY) as YYYY-MM-DD in a text file, GNU sed can rearrange the captured parts. Without the -i option, sed only prints the result and leaves the file unchanged. With -i.bak, it edits the file and saves the original as a .bak copy.
# preview only, file unchanged
sed -E 's#\b([0-9]{2})/([0-9]{2})/([0-9]{4})\b#\3-\2-\1#g' notes.txt
# edit in place, keeping notes.txt.bak
sed -E -i.bak 's#\b([0-9]{2})/([0-9]{2})/([0-9]{4})\b#\3-\2-\1#g' notes.txt
Illustrative before and after for the day-first rewrite:
Before: Invoice due 31/10/2026, reminder sent 05/10/2026.
After: Invoice due 2026-10-31, reminder sent 2026-10-05.
This pattern matches only two-digit days and months. A date written 5/10/2026 is left untouched. The check below finds any slash dates that remain, with their line numbers, so you can fix them by hand or extend the pattern:
grep -nE '[0-9]{1,2}/[0-9]{1,2}/[0-9]{4}' notes.txt
To confirm that a converted date is valid, pass it back to GNU date. An impossible value such as 2026-02-30 should make the command report an invalid date instead of printing a result. Run this check on a sample, because a regex rearranges digits without knowing whether they form a real date.
Details that can change the result
- Line endings: files with Windows-style CRLF line endings carry a hidden carriage return before each line break. A pattern anchored with $ to the end of a line may then fail to match.
- Characters: patterns written for ASCII digits and the slash will not match full-width digits or other separators, such as dots or hyphens.
- French spacing: French text often uses a non-breaking space inside written dates. A pattern that expects an ordinary space will skip those dates.
- Spreadsheets: some spreadsheet programs reinterpret typed or imported dates according to the computer's regional settings. Check converted columns after import, or store dates as YYYY-MM-DD text.
Gaps in this guide
No source documents were supplied for this guide. The guidance reflects widely documented general conventions, not a specific cited standard or style manual. Before publishing official, legal or government-facing material, confirm the details against current Government of Canada style guidance or your organization's own style guide. The command examples have not been run here, so test them on a copy of your text first.