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.

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

Use explicit units and UTC output to compare values that come from different systems.

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

Compare the unit and UTC representation before transferring a timestamp into another system.

The result represents an instant in UTC. Milliseconds are the date precision used here; finer fractional precision in a source date cannot be carried into the integer millisecond output.

Seconds are rounded down from milliseconds. This matters for negative timestamps before the Unix epoch, where rounding down differs from simply removing decimal digits toward zero.

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.

A numeric timestamp must be a signed integer within the accepted digit and date range. Remove a decimal suffix and confirm whether the source provided fractional seconds rather than an integer timestamp.

A date without Z or an explicit offset is rejected. If you only have a local wall clock time, use a timezone conversion first so the intended location and any daylight saving ambiguity are resolved.

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

Unix Timestamp Converter: common questions

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 the conversion direction and state the timestamp unit before interpreting a date.

Convert a timestamp