Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and vice versa. Shows current epoch time live. Supports seconds, milliseconds, and common date formats.

Runs in your browser · No data sent anywhere
Current Unix Time
Milliseconds

Timestamp → Human date

Human date → Timestamp

Frequently Asked Questions

What is Unix time / epoch time?

Unix time is the number of seconds elapsed since January 1, 1970 00:00:00 UTC (the Unix epoch). It's a universal way to represent a moment in time without worrying about timezones or calendar systems.

What's the difference between seconds and milliseconds timestamps?

Most Unix timestamps are in seconds (10 digits around year 2024). JavaScript's Date.now() returns milliseconds (13 digits). When in doubt: a 10-digit timestamp is seconds; 13-digit is milliseconds.

What is the Year 2038 problem?

32-bit systems store Unix time as a signed 32-bit integer, which overflows on January 19, 2038. Modern 64-bit systems can represent dates billions of years into the future and aren't affected.

How do I get the current timestamp in code?

JavaScript: Date.now() (ms) or Math.floor(Date.now()/1000) (s). Python: import time; time.time(). Unix shell: date +%s.