Skip to content
OnlineToolStudio

Unix Timestamp Converter

runs in your browserno sign-upfree

Convert Unix timestamps to dates and dates to timestamps, in IST, UTC or any time zone.

Current Unix timestamp (seconds)

…

Timestamp → date

Read as seconds

Date → timestamp

About this tool

A Unix timestamp (also called epoch time) is the number of seconds since 1 January 1970, 00:00:00 UTC. Computers, databases, APIs and log files use it to store dates. This converter turns a timestamp into a readable date in your time zone, IST, UTC or other major cities — and turns a date back into a timestamp. It works with seconds, milliseconds, microseconds and nanoseconds.

How to use

  1. Paste a timestamp into "Unix timestamp" — seconds, milliseconds or smaller units are detected automatically.
  2. Read the date in your chosen time zone, in UTC, in ISO 8601 format and relative to now.
  3. To go the other way, pick a date and time under "Date → timestamp". Use "Use current time" for the current moment.

FAQ

Seconds or milliseconds — how do I know?

Today’s timestamps have 10 digits in seconds (1767225600) and 13 digits in milliseconds (1767225600000). JavaScript and Java usually use milliseconds; PHP, Python, MySQL and Unix tools use seconds. The tool detects the unit from the number of digits.

Does a Unix timestamp have a time zone?

No. A timestamp is the same everywhere in the world — it always counts from midnight UTC on 1 January 1970. Only the way the date is displayed depends on the time zone.

What is the year 2038 problem?

Old systems store timestamps as signed 32-bit numbers, which run out on 19 January 2038 at 03:14:07 UTC (2147483647). Modern systems use 64-bit numbers and are not affected.

Can I convert dates before 1970?

Yes. Dates before 1970 have negative timestamps, for example -86400 is 31 December 1969.

Related tools

All tools