OmniWhen All 26 calculators →

Unix Timestamp Converter

Convert between human-readable dates and Unix timestamps in seconds or milliseconds. Shows local, UTC and ISO 8601.

Unix Timestamp Converter

Convert between human-readable dates and Unix timestamps in seconds or milliseconds.

About the Unix Timestamp Converter

Convert in either direction. Enter a date/time to get the Unix timestamp in both seconds and milliseconds, plus local, UTC and ISO 8601 formats. Or enter a timestamp (seconds or milliseconds) and get the corresponding date.

Useful for debugging logs, working with APIs, or anything that uses Unix epoch time.

How it works

Unix timestamps are the count of seconds (or milliseconds) since 1970-01-01 00:00 UTC, the Unix epoch. To convert a date to seconds, subtract the epoch and divide by 1,000. Going the other way, multiply seconds by 1,000 and pass to the Date constructor. UTC, local and ISO 8601 representations are all reported.

Examples

  • Date 2026-01-01 00:00:00 UTC1767225600 seconds · 1767225600000 ms
  • 0 secondsJan 1, 1970 00:00 UTC (the epoch)
  • 1767225600 secondsJan 1, 2026 00:00 UTC

Frequently asked questions

Why are some timestamps in seconds and some in milliseconds?
Unix originally used seconds. JavaScript and many modern systems use milliseconds for sub-second precision. The calculator handles both.
What is the year-2038 problem?
32-bit signed Unix seconds overflow on Jan 19, 2038. 64-bit timestamps (which everyone should be using by now) extend to ~292 billion years.
Does this account for time zones?
Unix time is UTC. The calculator shows local, UTC and ISO 8601 representations of the same instant.