Play n Tools

Free tools & games for everyone

Free · No sign-up · No accounts

Unix timestamp converter

Turn Unix timestamps in seconds, milliseconds, microseconds or nanoseconds into dates in any time zone, and dates back into timestamps.

Unix time now:  

From a date and time

A whole list

How to use

  1. Paste a timestamp. The unit is guessed from the number of digits: up to 11 digits are seconds, 12–14 milliseconds, 15–17 microseconds, 18–19 nanoseconds. Choose the unit yourself if the guess is wrong.
  2. Or paste a date with its offset, such as 2026-11-18T09:30:00Z or Wed, 18 Nov 2026 09:30:00 +0000.
  3. Read the date in UTC, your own time and any time zone, plus the same moment in other formats. Each line has a Copy button.
  4. To go the other way, pick a date, a time and a zone and press To timestamp.

Keyboard

EnterIn the timestamp box: convert
TabMove between boxes and Copy buttons

Tips

  • JavaScript and many web services use milliseconds; most databases, servers and logs use seconds; Go and some databases use nanoseconds.
  • Unix time ignores leap seconds: every day counts as exactly 86,400 seconds.
  • Signed 32-bit seconds run out on 19 January 2038 at 03:14:07 UTC: try 2147483647.
  • Excel serial numbers count days from 30 December 1899 (the usual 1900 date system); the time is the fraction of the day.
  • Chat codes such as <t:1700000000:F> show the time in each reader’s own zone in chat apps that support them.

About the converter

Time zones and summer-time rules come from your browser’s own time-zone data. When a clock time is skipped (clocks go forward) the next valid moment is shown; when it happens twice (clocks go back) the first one is shown, and the status line says so. Nanosecond values are kept exact as text, beyond what normal JavaScript numbers can hold. The tests compare the results with Python’s datetime and zone data.

Nothing is stored or sent.

See you tomorrow!

A fresh daily puzzle every morning, and new tools added every month.

Browse every product