Unix Timestamp Converter

Convert Unix timestamps to human-readable dates or convert dates back to Unix epoch time. Supports seconds and milliseconds.

Epoch to Date

Local Time
24/11/2026, 10:21:37 pm
UTC Time
Tue, 24 Nov 2026 16:51:37 GMT
ISO 8601
2026-11-24T16:51:37.000Z
0 seconds ago

Date to Epoch

Unix Timestamp
1795519260
260

What is Unix Time?

Unix time (also known as Epoch time) is a system for describing a point in time. It is the number of seconds that have elapsed since the Unix epoch, minus leap seconds; the Unix epoch is 00:00:00 UTC on 1 January 1970.

Seconds vs Milliseconds

Historically, Unix time was measured in seconds. However, most modern programming environments (like JavaScript/Java) use milliseconds for higher precision. This tool automatically detects both formats.

Y2K38 Problem

The 2038 problem occurs because 32-bit Unix timestamps will overflow on January 19, 2038. This tool uses 64-bit precision to ensure dates far into the future are handled correctly.

About the Unix Timestamp Converter

Convert a Unix (epoch) timestamp to a readable date in your local time, UTC and ISO 8601 format – or turn a date and time back into a timestamp. Seconds and milliseconds are detected automatically.

Everything you enter is processed in your browser; nothing is uploaded or stored.

How to use it

  1. Paste a timestamp such as 1708535400 (or press Current for now).
  2. Read the local time, UTC time, ISO 8601 and how long ago or ahead it is.
  3. To go the other way, pick a date and time under “Date to Unix” and copy the timestamp.

What a Unix timestamp is

A Unix timestamp counts the seconds since 1 January 1970, 00:00:00 UTC (the “epoch”). It is the same number everywhere in the world; only its display changes with the time zone.

JavaScript and many APIs use milliseconds instead of seconds (13 digits instead of 10). The converter treats any value above 9,999,999,999 as milliseconds.

India Standard Time = UTC + 5 hours 30 minutes

Example

1708535400 is 21 February 2024, 17:10:00 UTC, which is 22:40 IST on the same day. 1708535400000 (milliseconds) is the same moment.

Common mistakes

  • Treating milliseconds as seconds, which gives dates thousands of years in the future.
  • Storing local time instead of UTC in databases, which breaks around time-zone changes.
  • Forgetting the year-2038 limit of signed 32-bit timestamps in old systems.

Frequently asked questions

How do I get the current Unix timestamp?

Press Current here. In code: Math.floor(Date.now() / 1000) in JavaScript, time.time() in Python, date +%s in a Linux shell.

Is a Unix timestamp in UTC?

Yes. It has no time zone; convert it to local time only for display.

What is the Y2K38 problem?

Signed 32-bit counters overflow on 19 January 2038; modern systems use 64-bit timestamps.