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-10-11T16:02:37.103Z
ISO 8601
2026-10-11T16:02:37.103Z
RFC 2822
Sun, 11 Oct 2026 16:02:37 +0000
Unix Epoch (s)
1791734557
Unix Epoch (ms)
1791734557103
SQL Datetime
2026-10-11 12:02:37
Relative
just now
Local (America/New_York)
Sunday, October 11, 2026 at 12:02:37 PM
UTC String
Sun, 11 Oct 2026 16:02:37 GMT
Date Only
2026-10-11
Time Only
16:02:37.103Z
Day of Week
Sunday
Week Number
W41

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