Unix Timestamp Converter
Convert a Unix epoch timestamp to a readable date and back again.
How to use
- Enter a Unix timestamp to see the date in UTC and your local time.
- Or pick a date and time to get its Unix timestamp.
- The live current timestamp is shown at the top.
How the Unix Timestamp Converter works
Converts between Unix timestamps and human-readable dates — the everyday task when reading logs, database rows and API responses.
A Unix timestamp counts seconds elapsed since 1 January 1970 UTC, ignoring leap seconds. Conversion multiplies or divides by 1,000 when the value is in milliseconds.
seconds since 1970-01-01T00:00:00Z (JavaScript uses milliseconds)
Worked example
1700000000 is 14 November 2023, 22:13:20 UTC.
Things worth knowing
- Ten digits means seconds; thirteen means milliseconds. Mixing them up produces dates in 1970 or in the year 55,000.
- Timestamps are always UTC. The local time you see depends on your timezone, which is a frequent source of off-by-hours bugs.
- The 32-bit signed form overflows on 19 January 2038. Use 64-bit integers for anything storing future dates.
Frequently asked questions
What is a Unix timestamp?
It's the number of seconds since January 1, 1970 (UTC) — a compact, time-zone-free way to store time.
Seconds or milliseconds?
This tool uses seconds; divide a millisecond value by 1000 first.
Why does my timestamp show 1970?
You passed seconds where milliseconds were expected, so the value is interpreted as a few thousand milliseconds after the epoch.
Do timestamps account for leap seconds?
No. Unix time deliberately ignores them, which keeps the arithmetic simple at the cost of exact astronomical alignment.