WorldClock.lol

Unix Timestamp Converter — Epoch Time to Date

Convert any Unix timestamp to a human-readable date, or turn a date into a Unix timestamp. Supports seconds and milliseconds with timezone-aware output. Paste a timestamp above to get started.

What is a Unix Timestamp?

A Unix timestamp counts the number of seconds since January 1, 1970, 00:00:00 UTC — a moment known as the Unix epoch. Every major programming language, database, and operating system uses this format internally. When you see a number like 1712534400, that represents a specific moment in time: April 8, 2024 at midnight UTC.

Notable Unix Timestamps

How to Get the Current Unix Timestamp

Quick reference for common languages:

Seconds vs Milliseconds

Standard Unix timestamps are in seconds (10 digits as of 2001). Many APIs and JavaScript's Date.now() return milliseconds (13 digits). This converter auto-detects the format. If your timestamp has 13 digits, it's likely in milliseconds.

Related Tools

Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates

Current Unix Timestamp

1781181921
Milliseconds: 1781181921473

Timestamp to Date

Enter a Unix timestamp (seconds or milliseconds)

Date to Timestamp

Select a date and time to convert

Quick Reference

1 minute60
1 hour3,600
1 day86,400
1 week604,800
30 days2,592,000
1 year31,536,000

What is a Unix Timestamp?

A Unix timestamp (also known as Epoch time, POSIX time, or Unix Epoch) is the number of seconds that have elapsed since January 1, 1970, at 00:00:00 UTC. This date is known as the "Unix Epoch."

Why Use Unix Timestamps?

Seconds vs. Milliseconds

Standard Unix timestamps are in seconds. However, many programming languages (like JavaScript) use milliseconds. This tool auto-detects: if your timestamp has more than 10 digits, it's treated as milliseconds.

Frequently Asked Questions

What is the Unix Epoch?

The Unix Epoch is January 1, 1970, 00:00:00 UTC. All Unix timestamps are counted from this date. It was chosen as a convenient reference point when Unix was developed.

What is the Year 2038 problem?

32-bit systems store Unix timestamps as a signed 32-bit integer, which will overflow on January 19, 2038. Most modern systems now use 64-bit timestamps to avoid this issue.

How do I convert a negative timestamp?

Negative timestamps represent dates before January 1, 1970. For example, -86400 represents December 31, 1969. Our converter supports negative timestamps.