Unix Timestamp Converter
Convert Unix timestamps (seconds since Jan 1 1970) to readable dates and times, and convert dates back to Unix timestamps.
What Does This Tool Do?
A Unix timestamp is a number representing seconds elapsed since January 1, 1970 (the Unix epoch). They're used extensively in programming, databases, and APIs. This tool converts in both directions: paste a Unix timestamp to see the human-readable date, or select a date to get its Unix timestamp.
Key Features
How to Use This Tool
- For timestamp → date: enter the Unix timestamp and see the date.
- For date → timestamp: select a date and time to get its Unix value.
- Click "Use Current Time" to see the current timestamp.
How It Works
Unix timestamps are converted using JavaScript's new Date(timestamp * 1000) (multiplying by 1000 to convert from seconds to milliseconds). The reverse uses Math.floor(Date.getTime() / 1000).
Common Use Cases
Frequently Asked Questions
Why does Unix time start from January 1, 1970?
January 1, 1970 is called the Unix epoch — it was chosen when Unix was created as a convenient reference point. It has no special significance beyond being the origin of the Unix timestamp system.
What is the Unix timestamp for year 2038?
January 19, 2038 03:14:07 UTC is the timestamp 2147483647 — the maximum value for a 32-bit signed integer. Systems using 32-bit timestamps will overflow on this date (the "Year 2038 problem").
Related Tools
Link to This Tool
Copy and paste the code below to link to this tool from your website: