Timestamp Converter

Convert between Unix timestamps and human-readable dates

Current Unix Timestamp:
Unix Timestamp
Date String

Frequently Asked Questions

What is a Unix timestamp?

A Unix timestamp (or Epoch time) is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. It's a simple way to track time as a single number, widely used in programming and databases.

What is the difference between seconds and milliseconds timestamps?

Unix timestamps in seconds are 10 digits (e.g., 1704067200), while milliseconds are 13 digits (e.g., 1704067200000). JavaScript's Date.now() returns milliseconds, while many Unix systems use seconds.

What is the Year 2038 problem?

The Year 2038 problem affects systems storing Unix timestamps as 32-bit signed integers. On January 19, 2038, these will overflow. Modern systems use 64-bit integers, which won't overflow for billions of years.

How do I get the current Unix timestamp?

In JavaScript: Math.floor(Date.now() / 1000). In Python: import time; time.time(). In PHP: time(). In Bash: date +%s. This tool also shows the live current timestamp above.