Unix timestamp to date converter
Convert between Unix timestamps and readable UTC dates.
Calculator inputs
Results
Enter your values and press “Calculate” to see the result.
In short
- What it calculates
- Convert between Unix timestamps and readable UTC dates.
- Formula used
Timestamp = seconds since 1970-01-01 00:00:00 UTC- Example
- The timestamp 1767225600 corresponds to:
Unix timestamp converter
A Unix timestamp counts the seconds since 1 January 1970 in UTC. It is how databases and APIs store time, but it is unreadable for people.
Here you translate in both directions.
How it works
The value is read as seconds, and if it exceeds a hundred billion it is assumed to be in milliseconds. Every output is expressed in UTC to avoid time zone ambiguity.
Formula
Timestamp = seconds since 1970-01-01 00:00:00 UTC
Milliseconds = timestamp × 1,000
Worked example
The timestamp 1767225600 corresponds to:
2026-01-01 00:00:00 UTC
ISO 8601: 2026-01-01T00:00:00+00:00
Thursday
Explanation
Unix time counts seconds since 1970
The origin was fixed at midnight on 1 January 1970 UTC, a date chosen for practical convenience when the system was designed. Every later moment is a positive number of seconds and every earlier one negative. It is the simplest possible way to represent an instant without ambiguity.
Why always UTC
A timestamp has no time zone: it is an absolute instant. Conversion to local time happens when displaying it, applying the user's zone. Storing dates in local time is the number one source of errors in international applications, because the same number means different things depending on where it is read.
The year 2038 problem
Systems storing the timestamp in a signed thirty-two bit integer overflow on 19 January 2038, jumping to negative numbers. It is the modern equivalent of the Y2K bug, and is solved by migrating to sixty-four bit integers, which most modern systems have already done.
Leap seconds
Unix time ignores the leap seconds occasionally added to align atomic clocks with the Earth's rotation. It is a deliberate simplification that avoids complications at the cost of minimal imprecision.
Frequently asked questions
Why always UTC?
Because a timestamp carries no time zone: it represents an absolute instant. Showing it in UTC avoids misreadings.
What is the year 2038 problem?
Systems storing timestamps in a signed 32-bit integer overflow on 19 January 2038. 64-bit integers solve it.
What is the year 2038 problem?
The overflow of timestamps stored in signed 32-bit integers, which will occur on 19 January 2038. It is fixed by using 64-bit integers.
Why should I store dates in UTC?
Because a timestamp is an absolute instant with no time zone. Storing local time makes the same value mean different things depending on where it is read.
Need to calculate something else?
These tools are often used alongside this calculator.
Days between dates
Count the days, weeks and months separating any two dates.
Base converter
Convert numbers between bases 2, 8, 10, 16, 32 and 36.
Age
Work out your age in years, months, days, weeks and hours from your date of birth.
Passwords
Random passwords with calculated entropy, generated in your browser.
Base64
Turn text into Base64 and recover the original text.