Date Format Converter

See any date written in common formats, clearly labelled, and copy the one you need.

Date format follows your device settings.

Calculated in your browser. Nothing you enter is sent to a server.

Result

Choose a date to see it in common formats.

Understanding the result

Each row shows the same date in a different notation. The label says exactly which pattern is used, so DD/MM/YYYY and MM/DD/YYYY are never confused. Press Copy on a row to put that format on your clipboard.

What is a date format converter?

A date can be written many ways. The same day, 4 March 2024, is 04/03/2024 in much of the world and 03/04/2024 in the United States. Software often expects ISO 8601 (2024-03-04), which sorts correctly and is unambiguous.

This tool shows the common variations side by side so you can pick the one a form, spreadsheet or system asks for.

How it works

The date is broken into year, month and day, and each format is assembled from fixed patterns with zero padding. Month names are in English. Nothing depends on your device's regional settings, so the output is the same wherever you are.

The ISO datetime and Unix timestamp rows represent midnight at the start of that date in UTC. A date on its own has no time of day, so this choice is stated on the rows.

Examples

4 March 2024

DD/MM/YYYY is 04/03/2024, MM/DD/YYYY is 03/04/2024, ISO 8601 is 2024-03-04, and "Month Day, Year" is March 4, 2024. The Unix timestamp for midnight UTC is 1709510400.

31 December 1969

The Unix timestamp is -86400, a negative number because the date is before 1970.

Things to keep in mind

  • Prefer ISO 8601 (YYYY-MM-DD) in data, filenames and anywhere the reader might be in another country.
  • Slash-separated numeric dates are ambiguous whenever the day is 12 or lower. If your audience is international, write the month as a word.
  • The Unix timestamp shown is for midnight UTC. In another time zone, midnight falls at a different timestamp.

Frequently asked questions

What is the ISO 8601 date format?

YYYY-MM-DD, for example 2024-03-04. It puts the largest unit first, so alphabetical order is chronological order.

What is the difference between DD/MM/YYYY and MM/DD/YYYY?

The order of day and month. 04/03/2024 is 4 March in DD/MM/YYYY and 3 April in MM/DD/YYYY.

Why does the timestamp say midnight UTC?

A date has no time of day, so a timestamp needs a reference point. Midnight UTC is the conventional choice.

Can I copy a format?

Yes. Each row has its own Copy button.