Unix Timestamp Converter

Unix seconds or milliseconds, read back as a date.

FREE - NO SIGN-UP - RUNS ON YOUR DEVICE

Timestamps stay in this browser tab

  • s / msboth units read
  • UTCand your local time
  • Liveupdates as you type
  • 0values uploaded
Specification

Unix Timestamp Converter at a glance

What you enter
A direction and one value
What you get
UTC, local time, seconds, millis
Units
Seconds or milliseconds
When it updates
Updates as you type
Time zone
Follows your device time zone
Price
Free
Account required
No
Where it runs
Runs locally in your browser
How to

How to use Unix Timestamp Converter

  1. 1

    Choose the direction

    Pick the direction.

  2. 2

    Enter the value

    Paste a timestamp or set a date.

  3. 3

    Copy what you need

    Copy the result.

Questions

Frequently asked questions

Seconds or milliseconds — which is mine?

Both are read. Check the date that comes back: if it lands far from where you expected, the value was taken in the other unit, so switch and read it again.

Why is the local time different from a colleague's?

Local time follows the time zone the device is set to. UTC is the same everywhere, so quote UTC when the reading has to match across machines.

Is the value I paste uploaded?

No. The conversion runs in the current browser tab, and the timestamp is not sent to a server or stored.

Can I go from a date back to a timestamp?

Yes. Switch the direction to date-to-timestamp, set the date, and Unix seconds and Unix milliseconds are shown together with the UTC and local readings.

Background

Reading a timestamp in context

Paste a timestamp to read it as UTC and as your local time, or go the other way and turn a date into seconds and milliseconds. Both are shown together.

  • A timestamp is a count from the Unix epoch, so it carries no time zone of its own until it is displayed.
  • UTC is the reading to quote in a bug report; local time is the reading that tells you what your day looked like.
  • Copy result keeps all readings together, so the unit that was used stays visible in your notes.

Full specification

Specification of the Unix Timestamp Converter tool
What you enterA direction, then either a timestamp or a date.
What you getUTC, your local time, Unix seconds and Unix milliseconds, side by side.
UnitsSeconds and milliseconds are both read.
When it updatesThe output changes whenever an input changes, using the browser date APIs described in the panel.
Time zoneLocal time follows the time zone your device is set to, so it can differ from another machine.
PriceFree
Account requiredNo
Where it runsAll calculations run locally in the current browser tab.
Next step

Keep going with the same files

All convert tools: Convert tools on SPOTTOOLS