CalcSeed

Unix Timestamp Converter

Turn a Unix timestamp into a human-readable UTC date and time, plus the ISO 8601 form used by APIs and databases.

Date & time
—

What the converter returns

You enter a Unix timestamp in seconds and get the same moment as a readable UTC date and time, plus the ISO 8601 string that APIs and databases use. The default 1,700,000,000 is 2023-11-14 22:13:20 UTC, or 2023-11-14T22:13:20Z in ISO form.

Both outputs describe the identical instant and differ only in punctuation. The second is the form you paste into a JSON payload; the first is the form you read when you are staring at a log line at two in the morning.

Counting seconds from a fixed origin

t=now−epoch1000t=(now-epoch)/1000

The epoch is 1970-01-01 00:00:00 UTC, a date chosen when Unix was being built because it was a round number near the present. Every timestamp is an offset from that origin, so 0 is the epoch itself, 86,400 is one day later, and a negative value counts backwards into the 1960s.

Leap seconds are ignored, which is why the count is a clean multiple of 86,400 per day. That makes arithmetic easy and keeps timestamps monotonic, at the cost of a second or so of drift from astronomical time accumulated since 1972, handled separately by the time services that publish UTC.

Worked example: 1,700,000,000

Divide by 86,400 to get days: 1,700,000,000 ÷ 86,400 = 19,675.9259. That is 19,675 whole days after 1970-01-01, which lands on 2023-11-14. The fractional part, 0.9259 of a day, is 80,000 seconds, which is 22 hours, 13 minutes and 20 seconds.

  • 86,400 seconds in a day, so the day count is 19,675
  • Remainder: 80,000 seconds after midnight UTC
  • 80,000 ÷ 3,600 = 22 hours, remainder 800 seconds
  • 800 seconds = 13 minutes 20 seconds, giving 22:13:20

The date part comes from the calendar arithmetic in the runtime rather than from that division alone, because months and leap years are irregular. The day count is the sanity check: 19,675 days is a little over 53 years 10 months, which matches November 2023.

Timestamps worth knowing

TimestampUTC date and timeWhat it marks
01970-01-01 00:00:00the Unix epoch
1,000,000,0002001-09-09 01:46:40the first billion seconds
1,700,000,0002023-11-14 22:13:20the default in this tool
2,147,483,6472038-01-19 03:14:07the 32-bit signed limit
4,102,444,8002100-01-01 00:00:00the upper bound here

The 2038 row is the one to remember. A signed 32-bit integer tops out at 2,147,483,647, and that moment is the last second it can represent. Systems that store time in a 32-bit signed field will roll over to 1901 on the following second, which is the same class of bug as the 1999 year rollover but with a fixed, known deadline.

The 2038 problem in practice

Most modern systems already use 64-bit time, which pushes the limit past the year 292 billion. The risk sits in embedded controllers, old database schemas with an int column, file formats with a 32-bit field, and protocols that specify a signed 32-bit timestamp. Auditing those is a concrete task: find every field that stores seconds in 32 bits, and widen it before 2038.

Seconds or milliseconds

The classic Unix timestamp is in seconds and has ten digits for dates in this century. JavaScript, Java and many APIs use milliseconds, which is the same count multiplied by a thousand and has thirteen digits. Feeding a millisecond value to a seconds converter lands you in January 1970.

The error is easy to spot once you know the symptom. If 1,700,000,000,000 is read as seconds, the date is far in the future; if 1,700,000,000 is read as milliseconds, you get 1970-01-20 16:13:20 instead of November 2023. Count the digits before you trust the output: ten is seconds, thirteen is milliseconds, sixteen is microseconds.

  • 10 digits: seconds, roughly 2001 to 2286
  • 13 digits: milliseconds, the JavaScript convention
  • 16 digits: microseconds, common in database logs
  • 19 digits: nanoseconds, used by some tracing systems

Timestamps versus monotonic clocks

A Unix timestamp can jump. When NTP corrects a drifting server clock it may step the value backwards by a fraction of a second, so two events can appear out of order even though they happened in sequence. Code that measures elapsed time needs a monotonic clock instead, which counts steadily from boot and is never adjusted. Use timestamps to label when something happened and monotonic counters to measure how long it took.

Time zones and display

A timestamp names an instant, not a wall clock, so the converter reports UTC and nothing else. To get local time you apply an offset: 2023-11-14 22:13:20 UTC is 17:13:20 in New York during standard time, which is UTC−5, and 06:13:20 the next morning in Tokyo, which is UTC+9.

The Z at the end of the ISO string is the marker for zero offset. Replacing it with +01:00 describes the same instant in a different notation, and a parser must treat both as equal. Storing the offset alongside a timestamp is only necessary when you need to reconstruct the original local time, such as for a recurring meeting.

Range and negative values

The input accepts values from −2,208,988,800 to 4,102,444,800, which spans 1900-01-01 to 2100-01-01. Negative values are legitimate and represent dates before the epoch; −1 is 1969-12-31 23:59:59 UTC. The lower bound exists because the range has to stop somewhere, not because the arithmetic fails there.

Whole seconds only. A timestamp with a fractional part is rounded before conversion, so 1,700,000,000.7 becomes 1,700,000,000 and the sub-second precision is dropped. If you need milliseconds, multiply by a thousand and store them in a field that can hold thirteen digits.

Frequently asked questions

What is timestamp 1700000000?

2023-11-14 22:13:20 UTC. It is 19,675 days after the epoch plus 80,000 seconds, which is 22 hours, 13 minutes and 20 seconds.

What is the Unix epoch?

1970-01-01 00:00:00 UTC. Timestamp 0 is that instant, and every other value counts seconds forward or backward from it.

Is a Unix timestamp in seconds or milliseconds?

The classic form is seconds, ten digits for present dates. JavaScript and many APIs use milliseconds, thirteen digits, which is exactly a thousand times larger.

What happens in 2038?

A signed 32-bit second counter reaches its maximum at 2,147,483,647, which is 2038-01-19 03:14:07 UTC. One second later it overflows and wraps to a date in 1901 on affected systems.

Why is my converted date in 1970?

You probably entered a millisecond value into a seconds field, or the reverse. A ten-digit number is seconds, a thirteen-digit number is milliseconds.

How many seconds are in a day?

86,400. That is 24 × 60 × 60, and Unix timestamps ignore leap seconds so every day has the same count.

Can a timestamp be negative?

Yes. Negative values fall before 1970, so −1 is 1969-12-31 23:59:59 UTC. This tool accepts them down to 1900-01-01.

What does the Z in the ISO string mean?

Zero offset, meaning UTC. 2023-11-14T22:13:20Z and 2023-11-14T23:13:20+01:00 are the same instant written two ways.

How do I get local time from a timestamp?

Convert to UTC first, then add your offset. 2023-11-14 22:13:20 UTC is 17:13:20 in New York at UTC−5 and 06:13:20 the next day in Tokyo at UTC+9.

What is 1,000,000,000 in date form?

2001-09-09 01:46:40 UTC, the first billion seconds after the epoch. It is a common test value because the round number is easy to recognise.

Method and sources

Calculation basis

Conversions and formats follow the relevant IETF RFCs and IEEE standards, including RFC 4648 for Base64 and RFC 791 for IPv4 addressing.

Last updated: November 17, 2026
Formula & data sources
  • POSIX time / Unix epoch definition (seconds since 1970-01-01 UTC).

Cite this page

Reference formats
APA 7CalcSeed. (2026, November 17). Unix Timestamp Converter. https://calcseed.com/c/developer/timestamp-converter/
MLA 9"Unix Timestamp Converter." CalcSeed, 17 Nov. 2026, calcseed.com/c/developer/timestamp-converter/.
ChicagoCalcSeed. "Unix Timestamp Converter." Last modified November 17, 2026. https://calcseed.com/c/developer/timestamp-converter/

Related calculators