Calcist

Style

Buttons

Spacing

How much to show

Decimal places

Text size

Date format converter

Type or paste a date in almost any format, or a Unix timestamp. You get it in every common format, and a warning if it could be read two ways.

Private: calculated on your device. Nothing you type is sent anywhere.

Next: Need the weekday or week number? Use the day of the week calculator or the week number calculator. Converting a time between zones? Try the time zone converter.

What this converter does

Dates are written differently around the world, and the same digits can mean different days. 03/04/2026 is March 4 in the US but 3 April in most of Europe. This converter reads the date, tells you which format it recognized, flags it when it's ambiguous, and writes it out as ISO 8601, US, European, long form, a Unix timestamp, an ISO week date and an ordinal date.

Formats it reads

FormatExample
ISO 86012026-10-27, 2026-10-27T14:30:00Z
Compact ISO20261027
US, month first10/27/2026, 10-27-26
European, day first27/10/2026, 27.10.2026
Long formOctober 27, 2026; Tue, Oct 27th 2026; 27 October 2026
Unix time1793059200 (seconds) or 1793059200000 (milliseconds)

How ambiguity is detected

For a numeric date like a/b/yyyy, if one number is over 12 it must be the day, so there's only one reading. If both are 12 or less and they differ, the date is ambiguous. The converter then uses your choice under "Read numeric dates as". On Auto, slashes are read the US way and dots the European way, and the other reading is shown too.

Two-digit years follow the POSIX rule used by many programs: 69 to 99 mean 1969 to 1999, and 00 to 68 mean 2000 to 2068. The IETF's RFC 3339 says Internet protocols must use four-digit years, and writing them avoids the guesswork.

How Unix time works

Unix time counts seconds since the Epoch, which POSIX defines as 00:00:00 UTC on January 1, 1970. Every day counts as exactly 86,400 seconds, so leap seconds are ignored.

Unix time = (days since 1970-01-01) × 86,400 + hours × 3,600 + minutes × 60 + seconds

Worked example

October 27, 2026 is 20,753 days after January 1, 1970. 20,753 × 86,400 = 1,793,059,200, the Unix timestamp for midnight UTC that day. Going the other way, 1,700,000,000 seconds is November 14, 2023 at 22:13:20 UTC.

Numbers with 12 or more digits are read as milliseconds, which is what JavaScript and many APIs use.

Limitations

  • A date without a time converts to a timestamp at midnight in the chosen zone (UTC by default).
  • Dates before 1970 give negative timestamps. Years before 1582 use the Gregorian calendar extended backward.
  • Very loose text like "next Tuesday" isn't understood. Use the date calculator for that.

Sources

How we checked this

Before every update, this calculator is run in a real browser with these known answers, and it must match all of them:

  • 2026-10-27 is Unix time 1793059200 (midnight UTC) ✓
  • Ambiguous 03/04/2026 is flagged ✓
  • 03/04/2026 read day first is 2026-04-03 ✓
  • Timestamp 1700000000 is 2023-11-14T22:13:20 UTC ✓
  • 27.10.2026 (dots, day first) is 10/27/2026 in US style ✓
  • Long form 'Tuesday, October 27th, 2026' is read ✓
  • Two-digit year 10/27/26 is 2026 (POSIX rule) ✓
  • Edge: 02/30/2026 isn't a real date ✓
  • Edge: 1969-12-31 is a negative timestamp ✓

Last checked October 26, 2026. Spotted something wrong? The math is done in your browser with the formula shown on this page, so you can check any result by hand.

Add this calculator to your website (free)

Paste this code into any web page. The calculator works on your page, resizes itself, has no ads and no tracking, and nothing your visitors type is sent anywhere. More about embedding.

Questions people ask

Is 03/04/2026 March 4 or April 3?

It depends on who wrote it. In the US it's March 4; in most of Europe it's 3 April. The converter shows both and lets you choose. Writing 2026-03-04 (ISO 8601) avoids the problem.

What is the ISO 8601 date format?

Year, month and day, largest first, with hyphens: YYYY-MM-DD, such as 2026-10-27. It sorts correctly as text and reads the same everywhere.

How do I convert a Unix timestamp to a date?

Paste the number above. Ten digits are seconds since January 1, 1970 UTC; thirteen digits are milliseconds. 1700000000 is November 14, 2023, 22:13:20 UTC.

What date is Unix timestamp 0?

January 1, 1970, 00:00:00 UTC, the Unix Epoch. Negative numbers are dates before it: −86400 is December 31, 1969.

What happens in 2038?

Systems that store Unix time as a signed 32-bit number run out at 2,147,483,647 seconds, which is January 19, 2038, 03:14:07 UTC. This converter isn't limited to 32 bits.

Related calculators