>
B's Code

Timestamp Converter

Convert between Unix timestamps, ISO 8601, and local/UTC date-time. Runs entirely in your browser.

[ INPUT ]
[ OUTPUT ]
// waiting for input

About Timestamp Converter

A Unix timestamp counts the seconds (or milliseconds) since 1 January 1970 UTC. This tool converts between that number, ISO 8601 strings, and readable local and UTC date-time.

How to use it

  1. Enter a Unix timestamp to see the equivalent local and UTC date-time.
  2. Or enter a date-time to get the timestamp back.
  3. Check whether your value is in seconds or milliseconds — the tool handles both.
  4. Copy whichever representation you need.

Frequently asked questions

Seconds or milliseconds?
Unix timestamps are traditionally in seconds. JavaScript's Date.now() returns milliseconds. A 13-digit number is almost always milliseconds; a 10-digit number is seconds.
Which timezone is used?
Conversions are shown in both UTC and your browser's local timezone.
Does it account for leap seconds?
No. Like Unix time itself, it treats every day as exactly 86,400 seconds.