Timestamp Converter

Convert between Unix timestamps and human-readable dates

Current Unix Timestamp

Local Time

Timestamp to Date

Date to Timestamp

Parse Date String

Conversion Results

Enter a timestamp to see conversion results

Notable Timestamps

Event Timestamp Date

What is a Unix Timestamp?

A Unix timestamp (also called Epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970, at 00:00:00 UTC. It provides a universal way to represent time across different systems and timezones.

Unix timestamps are widely used in programming, databases, APIs, and log files because they're timezone-independent and easy to calculate with.

Frequently Asked Questions

What is the Unix epoch?

The Unix epoch is January 1, 1970, at 00:00:00 UTC. This date was chosen as the starting point for Unix time. Timestamps before this date are negative numbers.

What's the difference between seconds and milliseconds?

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

What is the Year 2038 problem?

32-bit systems store timestamps as signed integers, which overflow on January 19, 2038. Modern 64-bit systems use 64-bit timestamps, extending the range to 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 current timestamp live.