Unix Timestamp to Date Converter

Convert Unix timestamps to human-readable dates — or any date back to a Unix timestamp. Share a link with any timestamp pre-loaded.

Current Unix time:
Unix Timestamp → Date
Unix timestamp (seconds since 1 Jan 1970 UTC)
{{ tsError }}
{{ row.label }} {{ row.value }}
Date → Unix Timestamp
{{ dateError }}
Unix timestamp (seconds):
{{ convertedTimestamp }}
Milliseconds: {{ convertedTimestamp * 1000 }}

What is a Unix Timestamp?

A Unix timestamp (also called Unix time, POSIX time, or epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970 — the "Unix epoch". It is the most widely used system for representing time in computing: databases, APIs, log files, and programming languages all use it internally.

Unix Timestamp Reference Points

EventUnix timestamp
Unix Epoch (start)0
Y2K — 1 Jan 2000 UTC946684800
1 Jan 2024 UTC1704067200
1 Jan 2025 UTC1735689600
Year 2038 problem2147483647

Seconds vs Milliseconds

Unix timestamps are traditionally in seconds (10 digits for dates after 2001). JavaScript's Date.now() returns milliseconds (13 digits) — divide by 1000 to get seconds. This converter works with seconds.

How to Get the Current Unix Timestamp

Language / toolCode
PHPtime()
JavaScriptMath.floor(Date.now() / 1000)
Pythonimport time; int(time.time())
MySQLUNIX_TIMESTAMP()
Linux shelldate +%s