Developer Tools

Unix Timestamp Converter

Convert Unix timestamps to dates in IST and UTC, and dates back to timestamps, in seconds or milliseconds.

By Nitin Raturi · Last reviewed

Input

How to use the Unix Timestamp Converter

Turn Unix timestamps into readable dates in IST and UTC, and back again.

  1. Choose the direction: timestamp to date, or date to timestamp.
  2. Type or paste the value, or use the current time.
  3. Check the unit (seconds or milliseconds) or the time zone of the date.
  4. Copy the format you need: seconds, milliseconds, ISO 8601 or RFC 2822.

Good to know

  • Tap the ⓘ next to any field for a short guide to it.

A Unix timestamp counts seconds since 1 January 1970, 00:00 UTC. India is always UTC+05:30.

Runs in your browser. Nothing you type is uploaded or saved in the link.

Convert

Choose whether to turn a timestamp into a date, or a date into a timestamp.

How to fill it in

  • Timestamp to date reads a number. Date to timestamp reads a date and time.

Timestamp or date

In “timestamp to date” mode, a Unix timestamp. In “date to timestamp” mode, a date and time.

How to fill it in

  • Timestamps: whole numbers such as 1700000000; commas and spaces are ignored.
  • Dates: 2026-10-27, 2026-10-27 09:30 or 2026-10-27T09:30:00+05:30.

Example

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

Timestamp unit

Whether the number counts seconds, milliseconds, microseconds or nanoseconds since 1 January 1970 UTC.

How to fill it in

  • Auto guesses from the length: up to 11 digits is seconds, 12–14 milliseconds, 15–17 microseconds, 18 or more nanoseconds.
  • JavaScript’s Date.now() gives milliseconds; most servers and databases use seconds.

Result

Wed, 15 Nov 2023, 03:43:20 IST

Read as
seconds
UTC
Tue, 14 Nov 2023, 22:13:20 UTC
IST
Wed, 15 Nov 2023, 03:43:20 IST
Day of the year
318

Seconds

1700000000

Milliseconds

1700000000000

ISO 8601 (UTC)

2023-11-14T22:13:20Z

ISO 8601 (IST)

2023-11-15T03:43:20+05:30

RFC 2822

Tue, 14 Nov 2023 22:13:20 +0000

How this calculator works

  1. Step 1Count from the epoch1 Jan 1970 UTCA Unix timestamp is the number of seconds since then.
  2. Step 2Split into days86,400 s a dayWhole days become a calendar date; the rest is the time.
  3. Step 3Shift for the zone+05:30 for ISTThe same instant shown in India time and in UTC.

A timestamp names one instant, the same everywhere in the world. Only the way you write it as a date depends on the time zone.

Worked example: 1,700,000,000 seconds

1700000000 is Tue, 14 Nov 2023, 22:13:20 UTC, which is Wed, 15 Nov 2023, 03:43:20 IST in India.

Converting 1700000000
Days and seconds
1700000000 ÷ 86,400 = 19675 days + 80000 seconds
  1. Whole days after 1 Jan 197019675
  2. Seconds into that day80000
  3. UTC2023-11-14T22:13:20Z
  4. Add 5 hours 30 minutes2023-11-15T03:43:20+05:30
  5. In IndiaWed, 15 Nov 2023, 03:43:20 IST

Going the other way, 2026-10-27 09:30 in IST is the timestamp 1793073600.

Reading the result

  • Seconds (10 digits today)1700000000Used by Unix, most databases, JWTs and many APIs.
  • Milliseconds (13 digits today)1700000000000Used by JavaScript’s Date.now() and many front ends.
  • ISO 8601The standard for APIs and logs, with Z or +05:30.
  • RFC 2822The format used in email headers.
  • RelativeHow long ago, or how long from now.
  • Your deviceThe time in your own device’s zone.

A Unix timestamp counts seconds since 1 January 1970 in UTC.

To convert a time between zones, use the time zone converter. The cron expression explainer shows a schedule’s next runs, and the JWT decoder reads timestamps inside tokens.

Common mistakes

  • Mistake: Treating milliseconds as seconds.

    Instead: Check the digit count: 13 digits today means milliseconds.

  • Mistake: Storing local India time without an offset.

    Instead: Store UTC or add +05:30 so the instant is unambiguous.

  • Mistake: Keeping 32-bit timestamps in long-lived systems.

    Instead: Signed 32-bit seconds run out on 19 January 2038; use 64-bit.

Read how we test our calculators, or browse more developer tools.

Frequently asked questions

What is a Unix timestamp?

It is the number of seconds since 1 January 1970, 00:00 UTC, not counting leap seconds. The same number means the same instant everywhere.

How do I know if a timestamp is in seconds or milliseconds?

Count the digits. Today a timestamp in seconds has 10 digits and one in milliseconds has 13. The converter detects this automatically.

How is IST related to UTC?

India Standard Time is always UTC+05:30. India does not use daylight saving, so the difference never changes.

What happens in 2038?

Systems that store seconds in a signed 32-bit number overflow after 2147483647, which is 19 January 2038 at 03:14:07 UTC. 64-bit timestamps are not affected.

Is the value I type saved anywhere?

No. Conversion happens in your browser. Only your settings, such as the unit and the zone, are kept in the page link.

Sources and methodology

The formulas are standard time-value-of-money results. We check every figure against golden values worked out independently, by closed form and by month-by-month simulation; see the methodology.

Written and maintained by Nitin Raturi, a software engineer (about the author). Last reviewed 27 Oct 2026; next review due by . Found an error? Tell us.

Changelog

  • : Initial release. Demand metrics remain unverified.