Home Timestamp

Timestamp

ready

Convert between Unix timestamps (seconds or milliseconds since epoch), ISO 8601, RFC 2822, and human-readable times in multiple timezones.


// now: 0
STDINinput
Auto-detect: input is parsed as a Unix timestamp if it's a 10-13 digit number, or as a date string otherwise. Most browsers accept ISO 8601, RFC 2822, and many human formats.
STDOUToutput

[01] What a Unix timestamp is

A Unix timestamp is the number of seconds since 00:00:00 UTC on 1 January 1970 (the "Unix epoch"). It is a single integer that uniquely identifies a moment in time, independent of timezone. 1740441600 means the same instant whether you are in New York, Dubai, or Tokyo - what changes is how that instant is displayed in the local clock.

Most languages and runtimes can convert a timestamp to a local date in one line: new Date(1740441600 * 1000) in JavaScript, datetime.fromtimestamp(1740441600) in Python, time.Unix(1740441600, 0) in Go.

[02] Seconds vs milliseconds

Unix timestamps come in two common precisions:

The 1000x difference is a frequent bug source: a millisecond timestamp passed to a "seconds" parser becomes a date roughly 31,000 years in the future. The auto-detect on this tool checks digit length to pick the right interpretation.

[03] Timezones, briefly

The timestamp itself has no timezone - it is always UTC seconds. Display, on the other hand, is always in some timezone. The same timestamp renders as different wall-clock times depending on where you look at it. That is why this tool offers a timezone selector: the underlying integer never changes, only the formatted output. Daylight saving shifts only affect display; the stored timestamp is unaffected.

For storage, always store as UTC (or as the timestamp integer). Convert to local time only at the display layer. Storing local time without a timezone tag is the classic "spring-forward / fall-back" bug source.

[04] Common pitfalls

Common questions

Is Unix Timestamp Converter free to use?

Yes. The tool runs in your browser at no cost, with no signup required.

Where is the math performed?

Calculations run locally in your browser. Your inputs do not leave your device.

Are the rates and rules current?

We update sources when published rates change. For high-stakes decisions, verify against the official source linked on this page.