Unix Time Converter

Convert Unix timestamps to readable UTC dates or turn ISO 8601 dates into epoch seconds with a fast developer-friendly tool.

Unix timestamp converter
Choose a direction and convert between epoch seconds and an ISO 8601 UTC date.

About Unix timestamps

Unix time represents an instant as the number of elapsed seconds since 00:00:00 Coordinated Universal Time on January 1, 1970. That starting instant is called the Unix epoch. The format is compact, sortable, and independent of a display language, which makes it common in operating systems, databases, APIs, log files, authentication tokens, and software protocols. A timestamp of zero identifies the epoch itself, while 946684800 identifies the beginning of January 1, 2000 in UTC. This converter works in both directions. In timestamp-to-date mode, it multiplies the supplied epoch seconds by 1,000 because JavaScript dates store milliseconds, then formats the instant as an ISO 8601 UTC value. In date-to-timestamp mode, it parses an ISO 8601 date, obtains milliseconds since the epoch, divides by 1,000, and rounds down to a complete second. Including the trailing Z in an input explicitly identifies UTC and avoids accidental interpretation in the computer's local time zone. Unix timestamps do not contain a time-zone label. They identify one absolute instant, which can be displayed as different wall-clock times in different regions. Time zones and daylight-saving rules matter only when formatting or interpreting a local date. This tool displays UTC so results remain stable across devices and locations. When converting a date, include Z for UTC or an explicit numeric offset such as plus 02:00 when the source time is not UTC. Most current systems use signed 64-bit values and can represent dates far beyond the older limits associated with 32-bit Unix time. Some legacy software stores timestamps in signed 32-bit fields and encounters the year 2038 problem when the value exceeds its maximum. Another frequent mistake is confusing seconds with milliseconds: modern browser timestamps often contain 13 digits, whereas present-day Unix seconds generally contain 10 digits. Divide milliseconds by 1,000 before entering them here. Use the converter to inspect API responses, debug database rows, verify scheduled events, translate log entries, and create test data. Date parsing follows the ISO 8601 conventions supported by the browser. For unambiguous results, provide a complete year-month-day value, a time, and either Z or an offset. Leap seconds are not represented as separate Unix seconds, so timestamp calculations follow the conventional continuous count used by mainstream computer systems.

Unix time conversion examples

These UTC examples provide useful reference points for testing timestamp logic.

InputConverted valueReference
01970-01-01T00:00:00.000ZThe Unix epoch
9466848002000-01-01T00:00:00.000ZStart of the year 2000 UTC
16094592002021-01-01T00:00:00.000ZStart of the year 2021 UTC
2000-01-01T00:00:00Z946684800ISO date converted to epoch seconds

How to convert Unix time

  1. Choose whether to convert a timestamp to a date or a date to a timestamp.
  2. Enter epoch seconds or a complete ISO 8601 date with its time-zone marker.
  3. Click Convert time to calculate the equivalent value.
  4. Use the UTC result directly or format that instant in the time zone your application needs.

Unix time converter FAQ

What is the Unix epoch?

The Unix epoch is 00:00:00 UTC on January 1, 1970. Unix timestamps count elapsed seconds before or after that reference instant.

Are Unix timestamps always in UTC?

A Unix timestamp represents an absolute instant and has no embedded time zone. UTC is the standard frame used to describe the epoch and display an unambiguous result.

How can I tell seconds from milliseconds?

Current Unix timestamps in seconds usually have 10 digits, while millisecond timestamps usually have 13. Divide a millisecond value by 1,000 before using a seconds-based system.

Why should an ISO date include Z or an offset?

A time-zone marker makes the intended instant explicit. Without one, software may interpret the same clock time in the device's local zone and return a different timestamp.

What is the year 2038 problem?

Signed 32-bit timestamp storage reaches its maximum in January 2038. Modern systems using wider integer types avoid that specific limit, but legacy systems may still require migration.