Unix timestamp converter

Convert Unix timestamps in seconds or milliseconds into UTC dates, or turn a UTC date and time into a timestamp.

Ready to useIn your browser · no account

Entered dates are interpreted as UTC. Seconds accept up to three decimal places with a dot; milliseconds must be integers.

How to use

  1. Under Direction, select Timestamp → UTC date, enter the value and Input unit in seconds or milliseconds, then click Convert.
  2. For the other direction, select UTC date → timestamp, fill in Date and time in UTC, and click Convert.
  3. Review utc, seconds, and milliseconds in the result and use Copy result to move the data into an API, database, or event log.

How it works

Entered dates and times are interpreted as UTC without automatic local-timezone conversion. Supports years 1 through 9999, seconds with up to three decimal places, and integer milliseconds.

An example

Timestamp 1 in seconds and 1000 in milliseconds both represent January 1, 1970 at 00:00:01 UTC.

Common questions

What is the difference between seconds and milliseconds?

One second equals 1000 milliseconds. Choosing the wrong unit can shift a date close to 1970 or to a much more distant year.

Does the entered time use my computer’s timezone?

No. This tool treats its date and time field as UTC. If you have a local time, convert its timezone before using it as UTC.