Unix Timestamp Converter

Convert a Unix timestamp (seconds, milliseconds, microseconds) to a date and back, shown in IST, UTC and other time zones.

How it works

A Unix timestamp counts the seconds since 1 January 1970 00:00:00 UTC (the "epoch"). Paste one and the tool works out whether it is in seconds, milliseconds, microseconds or nanoseconds from its length, then shows the date in India time (IST), UTC, your own zone and other cities.

Or type a date and time (2026-12-25 18:30:00) and choose whether you mean IST or UTC to get the timestamp. Leave both empty to see the current time.

The formula

seconds   : 10 digits now (1700000000)
milliseconds: 13 digits (1700000000000)
microseconds: 16 digits
nanoseconds : 19 digits
IST = UTC + 5 hours 30 minutes (no daylight saving)

Worked example

1700000000 is 14 November 2023, 22:13:20 UTC, which is 15 November 2023, 03:43:20 IST.

The date 2026-12-25 18:30:00 read as IST is 2026-12-25 13:00:00 UTC, so the timestamp is 1798203600.

Good to know

Common questions

What is the epoch?
1 January 1970 00:00:00 UTC. Timestamp 0.
How do I get the current timestamp?
Leave the boxes empty and read Unix seconds. In JavaScript use Date.now(), in Python time.time().
Why 10 digits and 13 digits?
Seconds are 10 digits for dates from 2001 to 2286. Milliseconds are 1000 times bigger, so 13 digits.
Does it handle dates before 1970?
Yes. Negative timestamps are dates before 1970.

More in Developer.