Skip to main content

Date Formatter

Input any date and see it in every common format. Supports ISO 8601, RFC 2822, Unix timestamps, SQL, and more.

2026-11-28T03:35:37.940Z
ISO 8601
2026-11-28T03:35:37.940Z
RFC 2822
Sat, 28 Nov 2026 03:35:37 +0000
Unix Epoch (s)
1795836937
Unix Epoch (ms)
1795836937940
SQL Datetime
2026-11-28 03:35:37
Relative
just now
Local (UTC)
Saturday, November 28, 2026 at 03:35:37 AM
UTC String
Sat, 28 Nov 2026 03:35:37 GMT
Date Only
2026-11-28
Time Only
03:35:37.940Z
Day of Week
Saturday
Week Number
W48

How to Format Dates Across ISO, RFC, SQL, and Unix Time

Date strings are a compatibility minefield. This date formatter converts between ISO 8601, RFC 2822, SQL timestamps, Unix seconds/milliseconds, and custom format tokens, with timezone support, all in the browser.

Use the epoch converter when you only have a Unix timestamp, and the duration calculator when you need the elapsed time between two instants.

Tips

  • ISO 8601 with a trailing Z is UTC. Missing offsets are treated as local time in most APIs — be explicit.
  • SQL DATETIME usually has no timezone; store UTC and convert on display.
  • Milliseconds vs seconds is the most common Unix timestamp bug — 13-digit values are ms.

More from Shane Code