Beginner

Date Format Converter

Enter a date once and instantly see it rewritten as ISO 8601, US and European slashes, long form, weekday, ordinal, RFC 2822 and a Unix timestamp.
Enter a date in any common format
ISO 8601
2026-06-27
US (MM/DD/YYYY)
06/27/2026
European (DD/MM/YYYY)
27/06/2026
Long form
June 27, 2026
Day of week
Saturday
Ordinal day
27th
RFC 2822
Sat, 27 Jun 2026 00:00:00 +0100
Unix epoch (seconds)
1782514800
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Enter any date and this converter rewrites it into ISO 8601 (YYYY-MM-DD), US and European slash formats, a localized long form, the weekday, an ordinal day, an RFC 2822 string and the Unix epoch in seconds. ISO input is parsed unambiguously, while slash dates are read US month-first.

Formula
ISO = YYYY-MM-DD; US = MM/DD/YYYY; EU = DD/MM/YYYY; Unix = floor(milliseconds since 1970-01-01 / 1000)
How this is calculated

The single input accepts a date written in any of several common ways. The parser first checks for an unambiguous YYYY-MM-DD pattern, then for an MM/DD/YYYY slash pattern (US convention), and finally falls back to the browser's native Date parser for everything else such as "June 27, 2026". The resulting calendar date is read as year, month and day in your local time zone.

Each output is then rebuilt from those components. ISO 8601 zero-pads month and day to two digits; the US and European variants only differ in field order; long form and the weekday name are produced with your locale so month names appear in your language. The ordinal adds the English suffix (st, nd, rd, th). RFC 2822 assembles the abbreviated weekday and month with a numeric UTC offset, and the Unix epoch is the whole number of seconds elapsed since 1970-01-01 00:00:00 UTC.

Date-only inputs are treated as midnight local time, so the Unix timestamp reflects that local midnight rather than UTC midnight. If the text cannot be understood as a date, no formats are shown. Slash dates are always read in US month-first order, so write 2026-06-27 when you need unambiguous results.

Frequently asked questions

Type the US-style date (for example 06/27/2026) into the box and read the European (DD/MM/YYYY) row, which simply swaps the day and month order.

It is the number of seconds between 1970-01-01 00:00:00 UTC and the date you entered, the standard timestamp used by most programming languages and databases.

Slash dates are interpreted month-first (US style). To avoid any ambiguity, enter dates in ISO 8601 form, YYYY-MM-DD.

Also known as

iso 8601 date
convert date format
mm/dd/yyyy to dd/mm/yyyy
date to unix timestamp
reformat date
change date format
date layout converter

APA

TG we-Calculate Editorial Team. (2026). Date Format Converter [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/date-format-converter

Chicago

TG we-Calculate Editorial Team. "Date Format Converter." TG we-Calculate. 2026. https://we-calculate.com/calculator/date-format-converter.

IEEE

TG we-Calculate Editorial Team, "Date Format Converter," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/date-format-converter

BibTeX

@misc{wecalculate_date_format_converter, title = {Date Format Converter}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/date-format-converter}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?