Skip to main content
Tools

Unix Timestamp Converter

Convert Unix timestamps to dates and back. Detects seconds or milliseconds and shows ISO 8601, relative time and multiple time zones.

Current Unix timestamp

Seconds
—
Milliseconds
—

Timestamp to date

Other time zones

  • Asia/Taipei
  • Asia/Tokyo
  • Europe/London
  • America/New_York

Date to timestamp

You can add an offset, like 2023-11-15T06:13:20+08:00, or end with Z for UTC

How to use

  1. The current Unix timestamp (seconds and milliseconds) is shown live at the top. Click “Copy” to use it.
  2. Type a number into “Unix timestamp”. The tool detects seconds, milliseconds, microseconds or nanoseconds, or you can pick the unit yourself.
  3. You get local time, UTC, ISO 8601, RFC 2822 and relative time (like “3 days ago”), each with its own copy button.
  4. Add the time zones you use under “Other time zones” to see the same moment around the world. Your list is remembered.
  5. To turn a date into a timestamp, enter it under “Date to timestamp” and choose its time zone.

FAQ

What is a Unix timestamp?

It is the number of seconds since 00:00:00 UTC on January 1, 1970. It does not depend on time zones, so programs, databases and APIs use it to record time.

How do I know whether a timestamp is in seconds or milliseconds?

Today’s timestamp has 10 digits in seconds and 13 in milliseconds. The tool goes by length: up to 11 digits is seconds, 12–14 milliseconds, 15–17 microseconds and anything longer nanoseconds. If the guess is wrong, choose the unit yourself.

Why is local time different from UTC?

A timestamp has no time zone; one is only needed to show it as a date. New York, for example, is 5 hours behind UTC in winter, so its local time is 5 hours earlier.

What is the year 2038 problem?

Some older systems store timestamps as signed 32-bit integers, which run out at 03:14:07 UTC on January 19, 2038 (2147483647). This tool has no such limit and handles dates long before 1970 or long after 2038.

What if I enter a date without a time zone?

It is read in the zone chosen under “Time zone”, which defaults to your device’s. Around daylight saving changes, a repeated time uses its first occurrence and a skipped time moves forward.

Is anything I enter uploaded?

No. All conversions happen in your browser, and time zone data comes from the browser’s built-in Intl API.

Keyboard shortcuts

/
Search tools (on a tool page, goes to the homepage search)
?
Show this help
Esc
Close a dialog
Ctrl / ⌘Enter
Run the tool's main action (where supported)

While you type in a text field, / and ? are typed as usual.