Unix Timestamp
Convert Unix timestamps to dates and back instantly
About Unix Timestamp
A Unix timestamp (also called epoch time) is the number of seconds elapsed since January 1, 1970 at 00:00:00 UTC. It is the universal time format used by databases, APIs, log files and programming languages. This free Unix Timestamp Converter shows the live current timestamp, converts any epoch to human-readable date formats (UTC, Local, ISO 8601), and converts any date back to a Unix timestamp in both seconds and milliseconds.
How to Use Unix Timestamp
- 1The current Unix timestamp is shown live at the top — copy it instantly.
- 2To convert a timestamp to a date: paste any Unix timestamp (seconds) into the input field.
- 3All date formats appear instantly — UTC, Local, ISO 8601, date-only and time-only.
- 4To convert a date to a timestamp: use the datetime picker and get seconds and milliseconds.
Common Use Cases
JavaScript uses milliseconds (Date.now()) while Unix/Linux uses seconds. Divide by 1000 to go from JS to Unix, multiply by 1000 to go from Unix to JS.
⭐ Popular Free Tools
Frequently Asked Questions
What is Unix epoch time?
Unix epoch time (or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970, at 00:00:00 UTC. This date was chosen as the "beginning of time" for Unix systems. It is the universal time standard used by databases, APIs, server logs and programming languages across all platforms.
What is the difference between seconds and milliseconds timestamps?
Unix timestamps are typically in seconds on server-side systems (Unix, Linux, PHP, Python, Go). JavaScript's Date.now() returns milliseconds — a value 1000 times larger. If you see a 13-digit number (like 1720000000000), it is milliseconds. A 10-digit number (like 1720000000) is seconds.
What is the Year 2038 problem?
Unix timestamps stored as 32-bit signed integers will overflow on January 19, 2038 at 03:14:07 UTC. At that moment, the value wraps to a large negative number, which systems interpret as 1901. Modern 64-bit systems are not affected. New software should always use 64-bit integers for timestamps.
How do I get the current timestamp in different programming languages?
JavaScript: Math.floor(Date.now() / 1000) | Python: import time; int(time.time()) | PHP: time() | Go: time.Now().Unix() | Java: System.currentTimeMillis() / 1000 | MySQL: UNIX_TIMESTAMP()