Unix Timestamp Converter - Epoch Time to Date & Date to Timestamp

Watch the live current Unix epoch clock tick, convert seconds or milliseconds into readable UTC, local, and ISO 8601 dates, and translate any calendar date and time back into an integer timestamp.

Unix Timestamp Converter

How to use the Unix Timestamp Converter

  1. 1Read the live ticking Current Unix Epoch Time card at the top, or click Copy to grab the current epoch seconds.
  2. 2To decode an epoch value, paste any integer into Timestamp to Date—or click Use Current Timestamp to fill the active clock value.
  3. 3Inspect the detected unit (Seconds vs Milliseconds) along with the formatted UTC, Browser Local Time, and ISO 8601 cards, each with its own Copy button.
  4. 4To encode a calendar date, pick a date and time in Date & Time to Timestamp and copy either the Unix Seconds or Unix Milliseconds output.

What the Unix Timestamp Converter does

All timestamp calculations execute immediately inside browser memory using native JavaScript Date routines:

  • Displays a live updating Unix epoch counter at the top of the page paired with a one-click Copy button.
  • Automatically distinguishes seconds from milliseconds using numeric magnitude (values with absolute value at or above 10^12 are treated as milliseconds) and rejects non-integer text with a clear error.
  • Converts every valid timestamp simultaneously into UTC, your browser Local Time, and standardized ISO 8601 output, each equipped with a Copy button.
  • Converts any chosen date and local time back into both 10-digit Unix Seconds and 13-digit Unix Milliseconds with separate Copy actions.

Example

Sample timestamp input
1700000000
Decoded outputs (auto-detected: Seconds)
UTC: Tue, 14 Nov 2023 22:13:20 GMT
ISO 8601: 2023-11-14T22:13:20.000Z

Entering 1700000000000 triggers Milliseconds auto-detection because its magnitude is at or above 1e12, returning the exact same UTC and ISO 8601 instant.

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp (also called epoch time) is the count of seconds or milliseconds that have elapsed since midnight UTC on January 1, 1970, not counting leap seconds.

How do I tell seconds apart from milliseconds?

Current timestamps in seconds are 10 digits long (around 1.7 billion), while millisecond timestamps are 13 digits long (1,000 times larger). The converter checks digit magnitude and tells you whether seconds or milliseconds were detected.

What is the Year 2038 problem?

Older software that stores Unix seconds as a signed 32-bit integer overflows after 2,147,483,647 seconds (03:14:07 UTC on January 19, 2038), wrapping around to 1901. Modern 64-bit systems and JavaScript numbers avoid this limit.

Does Unix epoch time change for daylight saving time or time zones?

No. The raw Unix integer represents the exact same instant worldwide relative to UTC. Time zones and daylight saving time only change how that instant displays when converted to local clock time.

Related tools

View All Tools