Date & Time

Unix Timestamp Converter

Convert between Unix timestamps and human-readable dates instantly. Supports seconds and milliseconds, UTC and local time.

Tool

About the Unix Timestamp Converter

The Unix Timestamp Converter translates between Unix time — the number of seconds since 1 January 1970 at 00:00 UTC — and ordinary calendar dates. It works both ways, handles seconds and milliseconds, and shows the result in UTC, local time and a friendly "in 3 days" style.

How to use it

  1. Type a date and time, or paste a Unix timestamp.
  2. Choose whether the timestamp is in seconds or milliseconds.
  3. Pick whether your typed date is local time or UTC.
  4. Click Convert to see every representation at once.

Understanding Unix time

Unix time counts elapsed seconds since the "epoch". It has no time zone and never repeats, which makes it ideal for storing and comparing moments in databases and APIs. Most systems use seconds; some languages and APIs use milliseconds, which is why the unit toggle matters.

Common uses

  • Decoding timestamps returned by an API or found in a database.
  • Setting token expiry, cache lifetimes and log windows.
  • Checking exactly when an event happened in your own time zone.
  • Generating a timestamp to paste into code or a query.

Seconds, milliseconds and the year 2038

Because a 32-bit signed integer of seconds runs out in January 2038, modern systems use 64-bit values or milliseconds. If a timestamp has 13 digits it is almost certainly milliseconds; 10 digits means seconds.

Who it is for

Developers, analysts and anyone debugging time-stamped data who needs a quick, private conversion.

Frequently asked questions

Both are used. This tool lets you choose; as a rule of thumb a 10-digit number is seconds and a 13-digit number is milliseconds.
No. Unix time is the same instant everywhere; the time zone only affects how that instant is displayed as a date.
Older systems stored Unix time in a signed 32-bit integer that overflows in January 2038. Modern systems use wider values or milliseconds to avoid it.

Related tools

Guides for this tool