AI Tools Free

Unix Timestamp Converter

Convert Unix time in seconds or milliseconds to a UTC date, or turn an ISO date into a timestamp. Date input needs Z or an explicit timezone offset.

Free to useNo sign-upRuns in your browser
Enter your details

Enter the inputs, then select Calculate.

Your result
Enter your details

Result will appear here

How Unix Timestamp Converter works

The converter maps integer Unix seconds or milliseconds to a UTC date, or maps an ISO date with an explicit offset back to the selected timestamp unit.

The result displays UTC and both integer timestamp units. Milliseconds are the output precision; seconds are rounded down from that millisecond instant.

A numeric timestamp must be a signed integer within the accepted digit and date range.

A timestamp connected to a UTC clock and calendar on a shared timeline.
Illustration of the Unix Timestamp Converter workflow.

Unix Timestamp Converter Quick Reference & Input Guide

Review the input parameters, allowed value ranges, and worked reference cases for the Unix Timestamp Converter below before running your calculation.

Parameter / ScenarioDefault / Sample ValueRule or Allowed RangeOutput / Usage Note
Input: Direction(User supplied)Options: Timestamp to UTC date, ISO date to timestampRequired workspace parameter
Input: Unix timestamp0Input type: textRequired workspace parameter
Input: Timestamp unit(User supplied)Options: Seconds, MillisecondsRequired workspace parameter
Input: ISO date-time with offset1970-01-01T00:00:00ZInput type: textRequired workspace parameter

How to use Unix Timestamp Converter

Choose the conversion direction and state the timestamp unit before interpreting a date.

Choose the direction and unit

Select timestamp-to-date or date-to-timestamp and choose seconds or milliseconds. Enter the relevant integer timestamp or ISO date-time. A date input needs Z or an explicit numeric offset.

Direction
Unix Timestamp Converter native input panel with the actual Direction, Unix timestamp, Timestamp unit settings used for this example.
Configure Direction, Unix timestamp, Timestamp unit; select Calculate.

Convert the instant

Run the conversion and read the main UTC date or selected-unit timestamp. The result shows the same instant in both Unix seconds and Unix milliseconds for comparison.

1704067200000
Unix Timestamp Converter actual result panel showing 1704067200000.
Submitted result: 1704067200000. Unix seconds: 1704067200.

Copy the expected representation

Copy the text output matching the selected direction and keep its unit with it. Review the UTC note and both supporting timestamp rows; second output is rounded down from milliseconds.

Output and export
Unix Timestamp Converter actual output and export region and result note after submitting the pictured settings.
Review the actual Unix Timestamp Converter output and visible Copy result controls. Read the result note.

When to use Unix Timestamp Converter

Compare baseline and alternative runs for Unix Timestamp Converter before exporting the result.

Inspect an event log

Convert a timestamp from a log into a readable UTC date to check when an event occurred. Confirm the logging system uses seconds or milliseconds first. UTC gives a common reference but does not by itself show the viewer local time.

Date and time inputs represented by calendar and clock shapes.
Enter dates and time settings. Concept illustration.

Prepare an integration value

Convert an explicitly offset date into the integer unit required by an API or import. Compare the resulting UTC instant with the source date. The tool prepares a value; it does not call the integration or validate its field requirements.

Two date or time scenarios represented for comparison.
Compare another date or time. Concept illustration.

Compare two time records

Convert differently formatted records to UTC to see whether they refer to the same instant. Keep the original offset and unit in your notes, since two equal instants can have different displayed calendar dates in their source locations.

Date or time information used in a planning workflow.
Plan with the result. Concept illustration.

Read Unix timestamp units and date precision

Review the calculated output alongside your entered parameters and unit conventions.

Every calculation follows the rule: Unix time counts seconds or milliseconds since 1970-01-01T00:00:00Z. Because JavaScript uses IEEE 754 double-precision floating-point arithmetic, numeric outputs display up to 12 significant digits where applicable.

Always cross-check the displayed result against the scope note (UTC is used for display. Date input must include Z or an explicit offset; sub-millisecond precision is not retained, and seconds output is floored toward negative infinity) before applying the value to production specifications, financial models, or lab records.

Date or time output connected to its original settings.
Read dates with their settings. Concept illustration.

Check unit and date errors

Confirm the conversion direction, numeric unit, and explicit date offset before running the conversion.

Operational scope: UTC is used for display. Date input must include Z or an explicit offset; sub-millisecond precision is not retained, and seconds output is floored toward negative infinity. Inputs that violate minimum/maximum bounds or required format rules are rejected with a clear diagnostic prompt.

Need an adjacent calculation in Date & Time? Use the related tools linked below to chain your workflow without leaving your browser.

Calendar boundaries and time settings represented in a review illustration.
Check boundaries and settings. Concept illustration.

Frequently Asked Questions About Unix Timestamp Converter

Answers about using Unix Timestamp Converter and understanding its results.

Can I use a date before 1970?

Yes. Negative timestamps represent earlier instants.

Are seconds and milliseconds interchangeable?

No. Choose the matching unit to avoid a thousand-fold difference.

Can I enter a local date without an offset?

No. Add Z for UTC or an explicit offset. Resolve a wall-clock time in a named zone before using it as an instant.

What happens to sub-millisecond precision?

The displayed date and integer output use millisecond precision. Finer source fractions do not remain in the integer millisecond result.

Convert Unix time and UTC dates

Choose another tool for your next calculation, conversion, or text task.

Convert a timestamp