Unix Timestamp Converter

Paste an epoch value to get a readable date in UTC and your local zone, or pick a date to get its timestamp. Seconds and milliseconds are detected automatically.

Current Unix timestamp (seconds)
—
Click to copy

Timestamp → date

UTC
Local
Interpreted as

Date → timestamp

Seconds
Milliseconds
UTC equivalent

All conversion happens in your browser. The date picker is interpreted in your local time zone; results show both UTC and local.

How to use the timestamp converter

  1. To turn a timestamp into a date, paste the number into the left-hand box and press Convert to date. You get the date and time in UTC, the same moment in your own time zone, and a note on which unit the tool assumed.
  2. You don't need to say whether the number is in seconds or milliseconds. The tool counts the digits and decides; 10 digits is seconds and 13 digits is milliseconds.
  3. To turn a date into a timestamp, pick a date and time in the right-hand box, read in your local zone, and press Convert to timestamp. You get seconds, milliseconds and the UTC equivalent.
  4. The box at the top shows the current timestamp and ticks every second. Click it to copy the value.

What a Unix timestamp is

A Unix timestamp is a single integer: the number of seconds elapsed since 00:00:00 UTC on 1 January 1970, a moment called the epoch. It's the lingua franca of computing time because it has no time zone, no daylight saving, no calendar quirks — just a count. Log files, databases, APIs, and file systems store timestamps this way and convert to local wall-clock time only for display. When two systems disagree about "when", converting both sides to epoch seconds is how you settle it.

One deliberate simplification: Unix time pretends every day has exactly 86,400 seconds and ignores leap seconds. When a leap second is inserted, Unix clocks repeat or smear a second rather than counting 86,401. For anything short of astronomy or high-precision trading, this never matters.

Seconds or milliseconds? Reading the digits

DigitsUnitTypical source
10 (e.g. 1754870400)SecondsUnix tools, most APIs, databases
13 (e.g. 1754870400000)MillisecondsJavaScript's Date.now(), Java
16MicrosecondsSome databases and trading systems
19NanosecondsGo, high-resolution logging

Current dates land at 10 digits until the year 2286, so digit count is a reliable tell. This converter reads 10-digit values as seconds, 13-digit values as milliseconds, 16-digit values as microseconds and 19-digit values as nanoseconds, and it labels which one it assumed. If a "date" decodes to 1970 plus a few days, you've fed milliseconds to a seconds-decoder or vice versa — the most common timestamp bug there is.

Some timestamps worth knowing

TimestampDate and time (UTC)Why it matters
01 Jan 1970, 00:00:00The epoch
10000000009 Sep 2001, 01:46:40The billionth second
175487040011 Aug 2025, 00:00:00The example used in this tool
214748364719 Jan 2038, 03:14:07Largest signed 32-bit value

The year 2038 problem

Early systems stored Unix time in a signed 32-bit integer, which overflows at 03:14:07 UTC on 19 January 2038 — one second later, the counter wraps to a date in December 1901. Modern operating systems and languages moved to 64-bit time years ago (good until roughly 292 billion years from now), but 32-bit timestamps persist in embedded devices, old file formats, and legacy database columns. It's the Y2K of the 2030s: mostly solved, dangerous where forgotten.

Frequently asked questions

Why is my timestamp "off by a few hours"?

It isn't — the timestamp is UTC by definition. The difference you're seeing is your local zone's offset. Compare against the UTC line in the result, not local time.

Can timestamps be negative?

Yes. Negative values count backwards from 1970: −86400 is 31 December 1969. This tool accepts them.

How do I get the current timestamp in code?

Shell: date +%s · Python: time.time() · JavaScript: Math.floor(Date.now()/1000) · SQL (Postgres): extract(epoch from now()).

Is epoch time affected by daylight saving?

Never. That's the point of it. Only the human-readable rendering changes with zone and season.

How do I convert a Unix timestamp to a readable date?

Paste the timestamp into the Timestamp to date box and press Convert to date. The result shows the date and time in UTC and in your local time zone, and says whether the number was read as seconds or milliseconds.

Why does my converted date show January 1970?

A date in early January 1970 means the number is far too small. The usual cause is a value in seconds that was divided again, or a timestamp of 0 from an empty or missing field. Check the source of the number and confirm whether it is in seconds or milliseconds.

What date is Unix timestamp 1000000000?

1000000000 is 9 September 2001 at 01:46:40 UTC, often called the billionth second. You can check it by pasting the number into the converter.

Need to express a timestamp as a time in a specific city? Decode it here, then use the time zone converter.