On this page
  1. Timestamp → date
  2. Date → timestamp
  3. What is a Unix timestamp?
  4. Frequently asked questions
  5. More free tools

Unix timestamp converter

The current Unix time is 1794500179 seconds since January 1, 1970 UTC.

Timestamp → date

Date → timestamp

What is a Unix timestamp?

A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970, not counting leap seconds. It's used by databases, APIs and log files because it's time-zone independent. JavaScript and Java often use milliseconds instead, this tool detects which one you paste.

Developers: in JavaScript use Math.floor(Date.now()/1000), in Python int(time.time()), and in SQL (PostgreSQL) extract(epoch from now()).

What a Unix timestamp is

A Unix timestamp counts the seconds since 00:00:00 UTC on January 1, 1970, ignoring leap seconds. It is the same number everywhere in the world at a given instant, which is why databases, logs and APIs use it. Many systems store milliseconds instead: a 13-digit number is milliseconds, a 10-digit number is seconds.

To read a timestamp, the converter turns it into UTC and then into your local time. To create one, enter a date and time in any zone.

Worked examples

1767225600 is 00:00:00 UTC on January 1, 2026, which was 7:00 PM on December 31, 2025 in New York. 2000000000 will occur on May 18, 2033 at 03:33:20 UTC.

Signed 32-bit timestamps overflow at 2147483647, which is 03:14:07 UTC on January 19, 2038. Modern systems use 64-bit values and are not affected.

Tips and common mistakes

  • Check the units: seconds, milliseconds and microseconds look alike apart from the number of digits.
  • Timestamps carry no time zone; the zone is applied only when displaying.
  • Negative timestamps represent dates before 1970.

Questions people ask

How do I get the current timestamp?

It is shown live at the top of this page, in seconds and milliseconds.

Do Unix timestamps include leap seconds?

No. Each day is treated as exactly 86,400 seconds.

More background

The skipped and repeated hour

On the spring change the hour from 2:00 to 3:00 AM does not exist, so an alarm set for 2:30 AM will not ring. On the autumn change the hour from 1:00 to 2:00 AM happens twice. Shift workers, hospitals and transport operators plan for this, and it is the reason computer systems store times in UTC.

The IANA time zone database

Phones, computers and websites get their time zone rules from the IANA Time Zone Database, a public dataset maintained by volunteers and updated several times a year when governments change their rules. It records every offset and clock change since 1970 for hundreds of regions. This site uses the copy built into your browser, so it stays as current as your device.

UTC, GMT and the offset

Coordinated Universal Time (UTC) is the reference clock for the planet, kept by atomic clocks and adjusted with occasional leap seconds. Greenwich Mean Time (GMT) is the older, astronomy-based name and is the same as UTC to within a second, so for everyday use the two are interchangeable. Every local time is written as an offset from UTC, for example UTC-5 for New York in winter.

Southern Hemisphere seasons

South of the equator, summer runs from December to February, so places that use daylight saving time, such as Sydney, Melbourne and Auckland, move their clocks forward in September or October and back in April. As a result the gap between Sydney and New York can change by two hours over the year.

The International Date Line

The date line runs roughly along the 180th meridian through the Pacific. Crossing it westbound adds a day, eastbound removes one. Because countries choose their own zones, the line zigzags: Kiribati moved it in 1995 so all its islands share a date, which is why its Line Islands are at UTC+14, the earliest time on Earth.

The Pomodoro technique

The Pomodoro technique, developed by Francesco Cirillo in the late 1980s, breaks work into 25-minute focus sessions separated by 5-minute breaks, with a longer break of 15 to 30 minutes after four sessions. It is named after the tomato-shaped kitchen timer Cirillo used as a student.

Atomic clocks and official time

Official time in the US is kept by the National Institute of Standards and Technology (NIST) in Boulder, Colorado, and the US Naval Observatory in Washington. Their atomic clocks measure the vibration of caesium atoms and would drift by less than a second in millions of years. Radio station WWVB broadcasts the time to "atomic" wall clocks across the country.

Half-hour and quarter-hour zones

Not every zone is a whole number of hours from UTC. India uses UTC+5:30, Newfoundland UTC-3:30, Iran UTC+3:30, parts of Australia UTC+9:30 and Nepal UTC+5:45. The Chatham Islands of New Zealand use UTC+12:45. These zones are where mental arithmetic goes wrong most often, so a converter is worth using.

Military time

In the US, the 24-hour clock is often called military time. Times are spoken as four digits without a colon, so 0730 is "oh seven thirty" and 1900 is "nineteen hundred". The military also uses letters for time zones: Z (Zulu) for UTC, R (Romeo) for US Eastern Standard Time and U (Uniform) for Pacific Standard Time.

Frequently asked questions

What is the Year 2038 problem?

Systems that store Unix time as a signed 32-bit integer will overflow on January 19, 2038 at 03:14:07 UTC. Modern systems use 64-bit timestamps, which last for billions of years.

More free tools

Sources: IANA Time Zone Database, NOAA Solar Calculator, ISO 8601. Calculated live and checked by our automated tests before every release. How we calculate.

Summarize this page with AI
Was this page helpful?