Unix Timestamp Converter
Convert Unix timestamps to readable dates or turn dates into Unix time directly in your browser.
Live browser time
Current Unix Time
Updates once per second using your browser clock.
- Seconds
—- Milliseconds
—- Browser timezone
—
All timestamp and date conversions happen locally in your browser.
Overview
What is a Unix timestamp?
A Unix timestamp represents time elapsed since the Unix epoch at1970-01-01T00:00:00Z. It gives software a compact numeric way to represent an absolute instant independently of a human-readable calendar format.
Traditional Unix time counts seconds, while JavaScript and many modern systems commonly work with milliseconds.
Units
Unix timestamp seconds vs milliseconds
Seconds count one unit per second after the epoch. Milliseconds count one thousand units per second. A contemporary seconds value is often around 10 digits and a milliseconds value around 13 digits, but digit count is only a common pattern, not the definition.
This converter always uses the unit selected in the interface and never relies on digit count alone.
Terminology
What is epoch time?
Epoch time is a numeric time representation measured from a defined reference instant. In everyday development, “epoch time” often means Unix time measured from the Unix epoch, although other systems can define different epochs.
Steps
How to convert Unix time to a date
- Enter the Unix timestamp.
- Select whether the value is in seconds or milliseconds.
- Select Convert to Date.
- Review UTC, browser local time, ISO 8601, seconds, and milliseconds.
Steps
How to convert a date to Unix time
- Choose a date and time in the local date-time field.
- Remember that
datetime-localcontains no timezone information. - Select Convert to Timestamp.
- Copy the seconds, milliseconds, or ISO 8601 result as needed.
Timezone
Unix time and time zones
A Unix timestamp identifies an absolute instant and does not carry a timezone. UTC and local time are different formatted representations of that same instant. Local Time on this page uses the timezone configured by your browser or device.
Example
Unix timestamp example
0 seconds converts to 1970-01-01T00:00:00.000Z.
A fixed modern example, 1700000000 seconds, converts to2023-11-14T22:13:20.000Z.
Before 1970
Negative Unix timestamps
Negative Unix values represent dates before the epoch. For example, -1 second converts to 1969-12-31T23:59:59.000Z. This converter accepts finite negative values.
Compatibility
What is the Year 2038 problem?
A signed 32-bit Unix seconds field reaches its maximum value in January 2038. Systems that still use that representation can overflow. JavaScript Date uses a different numeric date model and is not limited to signed 32-bit Unix seconds, although it still has a finite range.
Related format
Unix timestamps in JWT claims
JWT exp, iat, and nbf claims commonly use NumericDate values expressed as Unix seconds. Use the JWT Decoderto inspect those claims before converting a value here.
Workflows
Common timestamp conversion use cases
- Translate API or database epoch values into readable UTC and local times.
- Compare seconds and milliseconds when an integration shows an unexpected date.
- Create Unix values for tests, scheduled events, logs, or expiration fields.
- Inspect JWT NumericDate claims alongside their original integer values.
FAQ
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp represents elapsed time since 1970-01-01T00:00:00Z. It is commonly stored as seconds or milliseconds relative to that epoch.
What is the Unix epoch?
The Unix epoch is the reference instant 1970-01-01T00:00:00Z from which Unix time is counted.
Are Unix timestamps in seconds or milliseconds?
Both forms are common. Traditional Unix time generally uses seconds, while JavaScript and many APIs use milliseconds. The unit must be known explicitly; digit count is only a common clue.
Do Unix timestamps have a timezone?
No. A Unix timestamp represents an absolute instant. A timezone is applied only when that instant is formatted as a human-readable date and time.
Can Unix timestamps be negative?
Yes. Negative timestamps represent instants before the Unix epoch. For example, -1 second is 1969-12-31T23:59:59.000Z.
Why is my timestamp showing the wrong date?
Check whether the value is seconds or milliseconds and confirm whether you are reading the UTC or local representation. Selecting the wrong unit causes a substantially different date.
What is the Year 2038 problem?
Some systems store Unix seconds in a signed 32-bit integer that overflows in January 2038. JavaScript Date is not restricted to a signed 32-bit seconds field.
Does this converter upload my data?
No. Timestamp and date conversions use browser Date and Intl APIs locally and are not sent to a server or third-party time service.