Epoch Converter

Type a Unix timestamp or a date and read it in UTC and your chosen time zones. Leave the box empty to see the current timestamp.

Timestamp or date

A number is a timestamp. A date can be 2025-01-31, 2025-01-31 14:30:05 or end in Z or +05:30. Empty means now.

Also used to read a date with no offset.

Type a timestamp or a date.

How to

Convert a time in three steps

  1. Type a timestamp or a date A plain number is read as a timestamp. A date such as 2025-01-31 14:30 is read in the time zone you choose.
  2. Pick the unit and zone The unit is guessed from the number of digits: 10 for seconds, 13 for milliseconds. Override it if the guess is wrong.
  3. Read the table You get seconds, milliseconds, microseconds, nanoseconds, ISO 8601, the local time in one or two zones, the ISO week and how far from now it is.

Timestamp pitfalls

  • Mixing up seconds and milliseconds is the most common mistake: a 13-digit value read as seconds lands tens of thousands of years away.
  • Unix time counts seconds since 1 January 1970 UTC and ignores leap seconds, so every day is exactly 86,400 seconds.
  • Store and send times in UTC, and convert to a zone only for display.
  • During daylight-saving changes one hour is skipped and another repeats. The tool tells you when the clock time you typed does not exist.

FAQ

Epoch converter questions

What is a Unix timestamp?

The number of seconds since 1 January 1970 at 00:00:00 UTC, also called epoch time. Many systems also use milliseconds, microseconds or nanoseconds.

How do I tell seconds from milliseconds?

Count the digits: current dates have 10 digits in seconds and 13 in milliseconds. The tool guesses from the length and lets you override it.

How do I convert a date to a timestamp?

Type the date, for example 2025-01-31 14:30, choose the zone it is in and read the seconds row. Add Z or an offset like +05:30 to say the zone in the text.

Why does a time not exist in my zone?

When clocks go forward for daylight saving, an hour is skipped. A clock time inside that hour never happened, so it has no timestamp.

Does Unix time include leap seconds?

No. Unix time treats every day as 86,400 seconds, so leap seconds are not counted.

More developer tools