Skip to tool
ZirkoMirkoTools

Epoch Converter

Read a timestamp in your local time and UTC, or convert a date back.

Enter a Unix timestamp or switch to date and time.

Example · Current Unix time

Unix timestamp

Enter a timestamp or date to see its conversion.

Local time

Calculating…

UTC

Calculating…

Next tool · Generate time-ordered IDs

Processed on this device — nothing is uploaded

What you can do here

  • Four Unix timestamp units
  • Local time and UTC
  • Live current Unix timestamp
  • Date to timestamp conversion

How do you convert between Unix time and a date?

Unix timestamps count from midnight UTC on January 1, 1970. Paste a timestamp to detect seconds, milliseconds, microseconds or nanoseconds by digit count. Choose a unit to override it. For the reverse conversion, enter a date with an optional UTC offset or pick a local date and time.

Unix timestamps count the seconds since midnight UTC on January 1, 1970. For example, 1700000000 is November 14, 2023 at 22:13:20 UTC. Paste a timestamp and the tool detects seconds, milliseconds, microseconds or nanoseconds by digit count; choose a unit to override it. For the reverse, enter a date such as 2023-11-14T22:13:20Z or pick a local date and time. Local time and UTC appear side by side.

Key facts

Price
Free
Sign-up
None
Upload
None — runs on your device
Limits
UTC years 0001 through 9999 · Precision to the millisecond
Works with
Unix seconds, milliseconds, microseconds or nanoseconds · ISO-style date and time · Local, UTC or explicit offset
Output
Unix timestamp · Local date and time · UTC date and time
Updated

How do you convert a timestamp to a date and back?

  1. Choose the input

    Select Timestamp or Date and time.

  2. Enter a value and choose the unit

    Paste a timestamp to detect its unit, or enter a date such as 2024-01-01T00:00:00Z.

  3. Read or copy the result

    Compare local time and UTC and copy either the timestamp or the UTC value.

Unix time conversion examples

Multiply Unix seconds by 1,000 to get milliseconds. A stated UTC offset fixes the instant regardless of the browser’s time zone.

Unix secondsUnix millisecondsDate in UTC
001970-01-01 00:00:00
-0.001-11969-12-31 23:59:59.999
170000000017000000000002023-11-14 22:13:20

Frequently asked questions

What date is Unix timestamp zero?

January 1, 1970 at 00:00:00 UTC. Its local date and time depend on your time zone.

How do I tell seconds from milliseconds?

Count the digits. Ten digits, like 1700000000, are seconds. Thirteen digits, like 1700000000123, are milliseconds. The tool detects this and lets you override the unit.

How do I convert milliseconds to Unix seconds?

Divide by 1,000. 1700000000123 ms is 1700000000.123 seconds.

What is the Year 2038 problem?

A signed 32-bit seconds counter overflows at 03:14:07 UTC on January 19, 2038. Systems that store timestamps that way need 64-bit values.

How is a date with no time zone interpreted?

As your device time zone. If a clock change skips the time you typed, add an explicit offset or Z. If a local time occurs twice, the earlier instant is used.

Which clock supplies the live timestamp?

Now reads your device clock. Select the input or type your own value to stop it updating.

Related tools

About this tool

Made by ZirkoMirko. Last updated .

Check it yourself in your browser’s Network panel while using the tool. How we handle your data.

Sources