Unix Timestamp Converter

Enter a Unix timestamp to see the date and time in UTC, or enter a date to get its timestamp. Useful for logs, APIs and databases.

Unix Timestamp Converter

Seconds since 1 January 1970, UTC. Millisecond values are detected.
Enter in UTC. Seconds are optional.

Result

2023-11-14 22:13:20 UTC

Timestamp: 1794819600

What the Unix Timestamp Converter does

The Unix Timestamp Converter translates the number that computers use to record a moment in time into a readable date, and back again. Logs, databases, APIs and file systems often store time as a count of seconds, which is hard to read at a glance. The converter shows the date and time in UTC, the coordinated universal time that avoids the confusion of local time zones.

Developers, analysts and system administrators use the conversion when they check logs, debug an interface or compare timestamps from different systems. A quick, reliable conversion saves time and avoids mistakes with time zones.

What a Unix timestamp is

Unix time counts the seconds elapsed since 1 January 1970 at 00:00:00 UTC, not counting leap seconds. The number increases steadily, which makes it easy to store, sort and compare, and it does not depend on the time zone of the computer that wrote it.

The number 1,700,000,000 corresponds to 14 November 2023 at 22:13:20 UTC. Because the count is in UTC, the same timestamp shows a different wall-clock time in London, New York or Tokyo, which is the point of storing it this way.

Seconds, milliseconds and ISO 8601

Some systems count milliseconds instead of seconds, which gives a number a thousand times larger. A value above about 100 billion is almost certainly milliseconds, and the converter divides it by 1,000 and tells you it has done so. Confusing the two is one of the most common timestamp errors, because the same date can look like a plausible number in either form.

The converter also shows the ISO 8601 form, such as 2023-11-14T22:13:20.000Z, which is the standard text representation used in many programs and APIs. The Z at the end means UTC.

Worked example

The timestamp 1700000000 converts to 2023-11-14 22:13:20 UTC. In the other direction, 16 November 2026 at 09:00:00 UTC is timestamp 1794819600. Entering the date in the second box gives that number directly.

If a timestamp of 1700000000000 is pasted, the converter reads it as milliseconds, shows the same date as before and notes the division by 1,000.

The 2038 limit

Some older systems store Unix time as a signed 32-bit integer, which can hold values only up to 2,147,483,647. That limit is reached at 03:14:07 UTC on 19 January 2038. Newer software uses larger integers, but embedded devices and old databases may still have the limit, so check the timestamp storage of any system that must keep working beyond that date.

Time zones and daylight saving

Store and calculate in UTC wherever possible, and convert to local time only for display. Local times can repeat or skip an hour when clocks change, which makes them unreliable for storage and arithmetic. The converter works only in UTC, so a local time must be converted to UTC first, by subtracting the offset that applied at that moment.

Limitations

The converter uses UTC and the standard Unix count, and it ignores leap seconds, as Unix time does. It does not convert between named time zones or handle daylight saving for a particular place. Check the result against an authoritative source for any date that matters legally or financially.

Logs and debugging

Application logs often record time as a timestamp, so a line that says 1700000000 is hard to place without conversion. Convert the timestamps at the start and end of the event you are investigating, then compare them with other logs recorded in UTC, to build an accurate sequence of events.

Choosing a storage format

Store times as UTC timestamps, or as ISO 8601 strings with an offset, and avoid storing local times alone. Both forms sort correctly and convert reliably, while a local time without its zone can be ambiguous for an hour each year.

Working with dates in code

Most programming languages provide a date library that converts timestamps. Use it instead of writing your own arithmetic, because leap years, time zones and clock changes are easy to get wrong. The converter here checks a result; it does not replace proper date handling in code.

Comparing timestamps from different systems

Systems can disagree by a few seconds because of clock drift, or by an hour if one of them stores local time. Confirm that both sides use UTC before comparing, and allow a small tolerance when matching events recorded by separate machines.

Times before 1970

Times before 1 January 1970 have negative Unix timestamps. Many systems handle these correctly, but some older ones do not, so test any historical dates your application must store.

Rounding and precision

A timestamp in whole seconds has no fraction, so a value with a fraction may be truncated or rounded depending on the system. If you need sub-second precision, use a format that carries fractions, and state which rounding rule your application uses.

Leap seconds in practice

Unix time ignores leap seconds, so across a leap second two timestamps can differ from the elapsed physical time by one second. For most applications the difference is negligible, but it matters for precise timing systems.

Logs and debugging

Application logs often record time as a timestamp, so a line that says 1700000000 is hard to place without conversion. Convert the timestamps at the start and end of the event you are investigating, then compare them with other logs recorded in UTC, to build an accurate sequence of events.

Choosing a storage format

Store times as UTC timestamps, or as ISO 8601 strings with an offset, and avoid storing local times alone. Both forms sort correctly and convert reliably, while a local time without its zone can be ambiguous for an hour each year.

Working with dates in code

Most programming languages provide a date library that converts timestamps. Use it instead of writing your own arithmetic, because leap years, time zones and clock changes are easy to get wrong. The converter here checks a result; it does not replace proper date handling in code.

Comparing timestamps from different systems

Systems can disagree by a few seconds because of clock drift, or by an hour if one of them stores local time. Confirm that both sides use UTC before comparing, and allow a small tolerance when matching events recorded by separate machines.

Times before 1970

Times before 1 January 1970 have negative Unix timestamps. Many systems handle these correctly, but some older ones do not, so test any historical dates your application must store.

Rounding and precision

A timestamp in whole seconds has no fraction, so a value with a fraction may be truncated or rounded depending on the system. If you need sub-second precision, use a format that carries fractions, and state which rounding rule your application uses.

Leap seconds in practice

Unix time ignores leap seconds, so across a leap second two timestamps can differ from the elapsed physical time by one second. For most applications the difference is negligible, but it matters for precise timing systems.

Privacy

The timestamps and dates you enter stay in your browser. The converter does not store or send them.

Frequently Asked Questions

Why is my timestamp 13 digits long?

It is probably in milliseconds. The converter detects this and divides by 1,000.

Why does the converter use UTC?

UTC is the same everywhere, so the result does not depend on where you are. Convert to local time only when you need to display it.

What is the ISO 8601 format?

A standard text form such as 2023-11-14T22:13:20.000Z. The trailing Z means UTC.

Do leap seconds count?

No. Unix time ignores leap seconds, so it is not a perfect count of physical seconds.

Can I convert to my local time?

Not directly. Add or subtract your offset from UTC, or use your operating system's date tool for a local display.

By the ToolHuby editorial team. Last updated November 16, 2026.