Free online tool to convert Unix timestamps to readable dates and dates to Unix epoch time. Supports seconds, milliseconds, and all timezones.
Timestamp to Date
Convert a Unix timestamp to a human-readable date
Date to Timestamp
Convert a date and time to a Unix timestamp
1771068521
1771068521000
2026-02-14T11:28:41.000Z
Quick Reference
1970-01-01 00:00:00 UTC
02000-01-01 00:00:00 UTC
9466848002038-01-19 03:14:07 UTC
21474836472024-01-01 00:00:00 UTC
17040672002025-01-01 00:00:00 UTC
17356896002026-01-01 00:00:00 UTC
1767225600What is Unix Time?
Unix time (also known as Epoch time, POSIX time, or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970 00:00:00 UTC, not counting leap seconds.
It is widely used in computing because it provides a simple, timezone-independent way to represent a point in time as a single number. Databases, APIs, log files, and operating systems commonly store time as Unix timestamps.
Year 2038 Problem: 32-bit systems storing Unix time as a signed integer will overflow on January 19, 2038 at 03:14:07 UTC, potentially causing errors. Most modern systems use 64-bit integers to avoid this issue.
How to Convert Timestamps
Timestamp to Date
Paste your Unix timestamp into the “Timestamp to Date” converter. The tool auto-detects seconds (10 digits) or milliseconds (13 digits) and instantly shows the human-readable date in your selected timezone.
Date to Timestamp
Use the date picker in the “Date to Timestamp” converter to select any date and time. The tool outputs both the UTC and local Unix timestamps in seconds and milliseconds.
Get Current Timestamp
The live clock at the top displays the current Unix timestamp updating in real-time. Click to copy it instantly for use in your code, API calls, or database queries.
Frequently Asked Questions
How do I convert a Unix timestamp to a date?
Enter your Unix timestamp (in seconds or milliseconds) in the converter above and select your desired timezone. The tool will instantly display the corresponding human-readable date and time. In JavaScript you can also use new Date(timestamp * 1000) for seconds-based timestamps.
What is the difference between seconds and milliseconds timestamps?
A Unix timestamp in seconds is typically 10 digits (e.g., 1700000000), while a millisecond timestamp is 13 digits (e.g., 1700000000000). Millisecond timestamps provide higher precision and are commonly used in JavaScript (Date.now()) and modern APIs.
What is the Unix Epoch?
The Unix Epoch is January 1, 1970, at 00:00:00 UTC. It serves as the reference point from which Unix time is measured. A timestamp of 0 corresponds to this exact moment. All Unix timestamps count the number of seconds elapsed since this date.
What is the Year 2038 Problem?
The Year 2038 Problem occurs because 32-bit systems storing Unix time as a signed 32-bit integer will overflow on January 19, 2038 at 03:14:07 UTC (timestamp 2147483647). This could cause errors in older software. Most modern systems now use 64-bit integers to avoid this issue.
How do I get the current Unix timestamp in code?
In JavaScript: Math.floor(Date.now() / 1000). In Python: int(time.time()). In PHP: time(). In Bash: date +%s. Or use the live clock above.
Can I convert negative Unix timestamps?
Yes, negative timestamps represent dates before January 1, 1970. For example, -86400 corresponds to December 31, 1969 at 00:00:00 UTC. This is useful for working with historical dates.