Converters/Date & Time
Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and back. Supports seconds, milliseconds, UTC, ISO 8601, and local time.
↕
How to Use This Converter
Enter a Unix timestamp (seconds since January 1, 1970 UTC) to convert it to a human-readable date and time. Or pick a date and time to get its Unix timestamp. Click "Use Now" to instantly load the current timestamp.
- Unix time is always in UTC — local time conversions account for your browser's timezone.
- Millisecond timestamps (13 digits) are also shown in the output for use in JavaScript.
- ISO 8601 format is the standard for APIs and databases.
Examples
What is Unix timestamp 0?
January 1, 1970 00:00:00 UTC — the Unix epoch, the origin point of Unix time.
What is timestamp 1700000000?
November 14, 2023 at 22:13:20 UTC.
What will timestamp 2000000000 be?
May 18, 2033 at 03:33:20 UTC.
How do I get a Unix timestamp in JavaScript?
Use Math.floor(Date.now() / 1000) for seconds, or Date.now() for milliseconds.
Frequently Asked Questions
What is a Unix timestamp?
A Unix timestamp is the number of seconds elapsed since January 1, 1970, 00:00:00 UTC (the Unix epoch). It is the most common way to represent time in software and APIs.
What is the difference between seconds and milliseconds timestamps?
Most Unix timestamps are in seconds (10 digits). JavaScript's Date.now() returns milliseconds (13 digits). Divide by 1,000 to convert ms to seconds.
Will Unix timestamps run out in 2038?
The Y2K38 problem affects 32-bit systems where the max value is 2,147,483,647 (January 19, 2038). Modern 64-bit systems can handle timestamps for billions of years.
Why is my converted time off by a few hours?
Unix timestamps are in UTC. The "Local" output adjusts for your browser's timezone. The offset is your UTC offset (e.g. UTC-5 = 5 hours behind).