Developer tool

Unix timestamp converter

Turn epoch numbers from logs, databases and APIs into real dates, and dates back into timestamps.

Advertisement
Current Unix time
–

Timestamp → date

Date → timestamp

Advertisement

What is a Unix timestamp?

It's the number of seconds since midnight UTC on 1 January 1970, called the Unix epoch. Computers store time this way because one number means the same moment everywhere in the world. JavaScript and many APIs use milliseconds instead, so their numbers have three more digits.

How does "Detect automatically" work?

By the number of digits: about 10 digits is seconds, 13 is milliseconds, 16 is microseconds and 19 is nanoseconds, for dates near today.

What is the year 2038 problem?

Older systems store seconds in a signed 32-bit number, which runs out on 19 January 2038 at 03:14:07 UTC (2147483647). Modern systems use 64-bit numbers and are fine.

What time is IST in UTC?

India Standard Time is UTC + 5:30 all year, with no daylight saving time.

Advertisement