Skip to content
beginthings.

Dev & Data

Unix timestamp converter

Paste a timestamp to see the date, or type a date to get the timestamp. The unit is detected automatically, and daylight saving is handled for each zone.

Input

Convert

Year-month-day then hours:minutes. Add Z or +05:30 to give the zone yourself.

Result

How to use this tool

  1. Paste a Unix timestamp in seconds or milliseconds, or pick a date and time.
  2. Choose the time zone you want the result in.
  3. Read the converted date in local time, UTC and ISO 8601 format.
  4. Copy the value you need, or press the button to use the current time.

How it works

Unix time counts the seconds since 00:00:00 UTC on 1 January 1970. Programming languages and databases use it because it is the same everywhere. Many systems store milliseconds instead (JavaScript, Java), which is the same number multiplied by 1,000.

The unit is detected from the size of the number: below 100 billion is seconds, then milliseconds, microseconds and nanoseconds. You can override it. When you type a date without a zone, it is read in the zone you choose, including daylight saving rules.

Good to know

A Unix timestamp counts the seconds since 1 January 1970 at 00:00 UTC. It is how many databases, APIs and log files record time, because it is a single number that does not depend on a time zone. JavaScript and many APIs use milliseconds, which is a number with three more digits.

The converter detects seconds and milliseconds from the length of the number, shows the same moment in several formats and lets you pick a time zone, including those with daylight saving changes. Remember that a timestamp is always UTC. Only the display changes with the time zone. Dates after January 2038 overflow on old 32-bit systems, a limit known as the Year 2038 problem.

Frequently asked questions

What is 1700000000?

14 November 2023, 22:13:20 UTC, which is 15 November 2023, 03:43:20 in India.

What about the year 2038?

Old systems that store seconds in a signed 32-bit number overflow on 19 January 2038. This tool uses 64-bit values and is not affected.

Is anything uploaded?

No.

More free tools you might need