Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds.

Current Unix Timestamp

0

Timestamp → Human Date

Date / Time → Timestamp

How to Use the Timestamp Converter

  1. 1. The live counter shows the current Unix timestamp in real time. Click Use This to load it.
  2. 2. To convert a timestamp to date: paste any Unix timestamp (seconds or milliseconds) and click Convert.
  3. 3. To convert a date to timestamp: enter a date string (ISO 8601, YYYY-MM-DD, or any standard format) and click Convert.
  4. 4. Click Copy next to any result to copy it to your clipboard.

Frequently Asked Questions

What is a Unix timestamp?

A Unix timestamp (also called epoch time or POSIX time) is the number of seconds elapsed since January 1, 1970, 00:00:00 UTC (the Unix epoch). It is widely used in programming as a universal, timezone-independent way to represent a moment in time.

What is the difference between seconds and milliseconds?

Unix timestamps are typically measured in seconds (10-digit numbers like 1700000000). JavaScript and many APIs use milliseconds (13-digit numbers like 1700000000000). This converter auto-detects which format you're using based on the digit count.

What is the maximum Unix timestamp value?

The 32-bit signed integer limit is 2,147,483,647, which corresponds to January 19, 2038 — the "Year 2038 problem". Modern systems use 64-bit integers which can represent dates billions of years into the future.

How do I convert a timestamp in JavaScript?

Use new Date(timestamp * 1000).toISOString() for seconds, or new Date(timestamp).toISOString() for milliseconds. To get the current timestamp: Math.floor(Date.now() / 1000).