Date separators: slashes, dashes and dots

How slashes, dashes and dots change the way a date is read, copied, searched and parsed, and when a written-out date is the safer choice.

A date like 03/05/2024 can be rewritten as 03-05-2024 or 03.05.2024 with a simple find-and-replace, and many text tools offer this as a one-click conversion. The digits stay the same, but the result is not always equivalent. Readers use the separator as a clue to which convention the date follows. Software may also treat each separator differently. This review covers what the conversion changes, where it can mislead, and when plain written-out dates are the better choice.

Is changing the separator suitable for your use?

For US readers, slashes in month/day/year order are the familiar form, and they work well for everyday writing and US forms that ask for them. Converting to dashes or dots is worthwhile when a destination or convention requires it. The main benefit is matching what a system or audience expects. The decisive tradeoff is that the separator only changes punctuation. If the tool keeps the month-day-year order, the new separator can suggest a different convention than the one the date actually follows. A written-out date avoids this problem and is preferable whenever readers may come from different conventions.

  • Slashes suit US-facing text and forms that specify MM/DD/YYYY.
  • Hyphens in year-month-day order (2024-03-05) suit data files, file names, logs and anything that will be sorted.
  • Dots suit text aimed at readers who use day.month.year, but only if the day and month are actually in that order.
  • Write out the month (March 5, 2024) for international audiences, contracts, announcements and any date where a misreading would cause harm.

What the conversion actually changes

A separator conversion is a character substitution in the stored text. The slash characters are replaced with hyphen or dot characters, and that replacement travels with the text wherever it is copied. It is not a visual effect, a font or a styling layer, and it does not reverse or mirror anything. Unless the tool explicitly reorders the components, the day, month and year stay exactly where they were.

Input:   03/05/2024
Output:  03-05-2024
Output:  03.05.2024

In this example, only the two separators change and the digits keep their order, which matches a pure substitution. The example contains only ASCII digits and punctuation, so the usual concerns with reversing or transforming combining marks and multi-part emoji do not apply. The meaning can still shift, though. A US reader takes 03/05/2024 as March 5. Many readers who use dotted dates read 03.05.2024 as 3 May, because dots typically signal day-first order. The characters were converted correctly, but the date is now easy to misread.

Separator | Character | Common association | Practical notes
Slash | / (solidus, U+002F) | Month/day/year in the US; day/month/year in the UK and many other places | Not permitted in Windows file names; used as a path separator in URLs and Unix-style paths
Hyphen | - (hyphen-minus, U+002D) | ISO 8601 year-month-day (2024-03-05) | Zero-padded year-month-day dates sort chronologically as plain text
Dot | . (full stop, U+002E) | Day.month.year in Germany and many other European countries | Signals day-first order to many readers, so it can mislead if the order is US-style

Forward slash or backslash?

Dates use the forward slash. The backslash (U+005C) is not a conventional date separator. It also has special roles elsewhere: it is the path separator on Windows, and many programming languages and data formats treat it as an escape character. A date written with backslashes may be altered or rejected when it passes through code, so convert any backslashes to forward slashes or another accepted separator.

Lookalike characters: the hidden risk

Some editors, word processors and styling tools replace plain punctuation with typographic lookalikes. A date can look correct but contain a fraction slash (U+2044), division slash (U+2215), en dash (U+2013), minus sign (U+2212) or non-breaking hyphen (U+2011). These are different characters from the ASCII slash and hyphen-minus. Date parsers, spreadsheets and form validators commonly expect the ASCII versions. Whether a particular system accepts the lookalikes is not established here and should be checked in that system. Text search also treats them as different characters, so a search for the ASCII form will not find them.

2024-03-05   hyphen-minus  U+002D
2024–03–05   en dash       U+2013
2024−03−05   minus sign    U+2212

To check a converted date, paste it into a tool that displays Unicode code points, or search the text for the plain ASCII separator and confirm every instance matches. If the date will be read by software, use only the ASCII slash, hyphen-minus or full stop.

Copying, sharing, search and accessibility

  • Copy and paste: the separators are ordinary characters, so they survive copying. The destination may still reinterpret them. For example, a spreadsheet may recognize the text as a date and redisplay it in its own locale format. Check the actual destination rather than assuming the text will stay as typed.
  • Search: matching is usually literal, so 03/05/2024, 03-05-2024 and 2024-03-05 are three different strings. Pick one format per document or dataset so searches find every instance.
  • Sorting: only zero-padded year-month-day dates sort correctly as plain text. Month-first or day-first dates sort out of order regardless of the separator.
  • File names: slashes are disallowed or treated as folder boundaries on common systems, so hyphens in year-month-day order are the safer choice. Dots can be confused with the file extension.
  • Assistive technology: screen readers may announce a numeric date as a date, as separate numbers, or with the separator spoken aloud, depending on the software and its settings. No documentation or test for any specific screen reader was available for this review. Where a date matters, provide it with the month written out.

When a plain written date is the better choice

A separator conversion cannot resolve the core ambiguity of numeric dates, which is whether the first number is the month or the day. Writing the month as a word, as in March 5, 2024 or 5 March 2024, removes that ambiguity for human readers. It also tends to read more clearly aloud. Keep numeric separators for places that require them, such as data fields, file names and forms with a specified format. Use a written month for general communication with a mixed or unknown audience.

Checklist before converting

  • Confirm the original order (month-day-year, day-month-year or year-month-day) before changing anything.
  • Check whether the tool only swaps separators or also reorders components.
  • Match the separator to the order: dots and slashes in day-first contexts, slashes in US month-first contexts, hyphens with year-month-day.
  • Verify that the output uses ASCII characters, not typographic lookalikes.
  • Test the result in the real destination, such as the spreadsheet, form or file system, before converting in bulk.
  • Use a written-out month wherever a misreading would be costly.

What this review could not verify

No specific conversion tool, spreadsheet, form system or screen reader was tested for this article, and no documentation for a named destination was supplied. The guidance above rests on how the characters themselves are defined and on widely documented date conventions. How a particular application parses, redisplays or announces a converted date has to be confirmed in that application.