MultiSwitch MultiSwitch ← Home
SEARCH
SEARCH
← Home Feedback

Unix Timestamp Converter

Epoch ↔ readable date, in UTC and your local time

Convert between Unix epoch time (seconds since 1 January 1970 UTC) and a readable date, in your browser's own timezone and in UTC.

How this works: Unix time counts seconds (not milliseconds) since 1 Jan 1970 00:00:00 UTC. If you paste a number bigger than about 10 trillion, it's treated as milliseconds instead, since that's the usual JavaScript timestamp format. Converting the other way, type a date and time in the local box below — it's read as your device's own timezone.
Right now: —
—
UTC
—
Your local time
—
Seconds
—
Milliseconds
Unix time has no timezone of its own — it's a single global instant. "UTC" and "your local time" above are two readable views of the same moment. See Terms.

How this works

Unix time counts whole seconds elapsed since 1 January 1970, 00:00:00 UTC — commonly called "the epoch" — ignoring leap seconds entirely, which is why it's the standard way computers store a point in time internally: it's a single number, not a timezone-dependent string that needs parsing.

If you paste in a number larger than roughly 10 trillion, the converter treats it as milliseconds rather than seconds, since that's the timestamp format JavaScript's own Date object commonly produces — a helpful auto-detection that saves you from manually figuring out which unit a pasted timestamp is in.

Converting the other direction, typing a date and time into the local box reads it in your own device's timezone, then converts it into the timezone-independent Unix timestamp — useful for developers debugging logs, APIs, or databases that store times as raw Unix timestamps rather than human-readable dates.

FAQ

What is Unix time?

The number of seconds elapsed since 1 January 1970, 00:00:00 UTC (the "epoch"), ignoring leap seconds. It's the standard way computers store a point in time internally, because it's just one number, not a timezone-dependent string.

Does this handle milliseconds?

Yes — if the number you paste is larger than roughly 10 trillion, it's treated as milliseconds (JavaScript's native timestamp unit) instead of seconds (the more common Unix convention), and converted accordingly.

Why does the same timestamp show a different local time on another computer?

Because the "your local time" figure depends on each device's own timezone setting. The underlying UTC time, and the epoch number itself, are identical everywhere — only the human-readable local rendering changes.