Unix timestamp converter

Turn an epoch timestamp into a date you can read, in your time zone or any other, and back again.

Sealed on this device

Runs in your browser. Nothing is uploaded.

Sealed

Timestamp to date

Date and time
—
UTC
—
ISO 8601
—
Relative
—
Seconds
—
Milliseconds
—

Right now

Seconds
—
Milliseconds
—
Your time
—
UTC
—

Date to timestamp

Seconds
—
Milliseconds
—
ISO 8601 (UTC)
—
ISO 8601
—

How it works

  1. Paste a timestamp

    Paste a number from a log, a database or an API. Seconds, milliseconds, microseconds and nanoseconds are recognised automatically.

  2. Choose a time zone

    See the date in your own time zone, in UTC or in any other zone, with daylight saving time applied.

  3. Or go the other way

    Pick a date, a time and a zone below to get the matching timestamp in seconds and milliseconds.

Frequently asked questions

What is a Unix timestamp?

It’s the number of seconds since 1 January 1970 at midnight UTC, called the Unix epoch. Computers use it because it’s a single number, independent of time zones and date formats.

Seconds or milliseconds: how do I know?

Today’s timestamps have 10 digits in seconds and 13 digits in milliseconds. JavaScript and Java usually use milliseconds; PHP, Python and most databases use seconds. Automatic detection relies on the number of digits, and you can force the unit.

Does it handle daylight saving time?

Yes. Conversions use your browser’s time zone database, so summer and winter time are applied correctly for every date and every zone, including past rule changes.

What happens in 2038?

Systems that store timestamps as 32-bit signed integers overflow on 19 January 2038 at 03:14:07 UTC. This converter, like modern 64-bit systems, has no such limit.

Why can the same date give two different timestamps?

A date and time only becomes a precise moment once you know its time zone. 9:00 in Paris and 9:00 in New York are six hours apart, so their timestamps differ. Choose the right zone when converting a date.

Install One For All on your computer

One For All then opens in its own window, like an app, straight from your desktop or home screen. Nothing to download from a store, and your files still stay on your device.

  1. Click the install icon at the right of the address bar, or open the browser menu (⋮).
  2. Choose “Install One For All” or “Install page as app”: a shortcut is added to your desktop and your apps.

Download this tool’s engine?

This tool works entirely in your browser. To do that, it needs to download the items below from One For All, just once. They are then kept on this device, so next time the tool starts right away.

Your files are never sent anywhere.