Unix Timestamp Converter
Exact instants. Explicit date rules.
Unix Timestamp Converter
Convert a timestamp
Epoch units and UTC dates.
Signed decimal or scientific value. Select the unit explicitly; subnanosecond precision is rejected.
UTC, Dubai and New York remain in complete exports, alongside this runtime-supported named zone.
This converter uses POSIX-style epoch time through nanosecond resolution, with UTC years 0001 through 9999. Leap-second labels, timezone-free date strings and guessed timestamp units are not accepted. Named-zone rules depend on installed browser data.
View timestamp resultsExact UTC date-time
2026-06-10T12:00:00.000Z
The explicit timestamp unit was used without digit-count guessing.
Exact timestamp units
Seconds
Milliseconds
Microseconds
Nanoseconds
These are exact decimal representations of the entered instant, through nanosecond resolution. More digits do not establish clock accuracy or imply native Date objects retain nanoseconds.
Containing millisecond and precision remainder
Whole-millisecond floor as UTC: 2026-06-10T12:00:00.000Z
Floor means the whole timestamp at or before the instant. A negative fraction therefore moves to the preceding integer, unlike truncation toward zero. The complete exact instant stays in the primary result and all exact unit rows.
Named timezone views
Every view describes the same instant. Offsets come from installed runtime rules; historical offsets may include seconds. A local year outside the four-digit profile is reported explicitly while the UTC conversion stays valid.
UTC
2026-06-10 12:00:00.000
UTC+00:00
Named-zone rules come from installed browser/runtime data; fractional digits are retained separately.
Asia/Dubai
2026-06-10 16:00:00.000
UTC+04:00
Named-zone rules come from installed browser/runtime data; fractional digits are retained separately.
America/New_York
2026-06-10 08:00:00.000
UTC-04:00
Named-zone rules come from installed browser/runtime data; fractional digits are retained separately.
Step-by-step Unix timestamp conversion
1. Normalize the explicit timestamp unit
Choose the unit deliberately. Parse the signed decimal exactly into integer nanoseconds; values below nanosecond precision are rejected rather than rounded.
2. Resolve the calendar representation
Offset-qualified input subtracts its explicit offset. Named-zone input resolves gaps and repeated occurrences explicitly. Leap-second labels and device-local parsing are not inferred.
3. Separate containing milliseconds from exact precision
Floor the whole-millisecond count and retain the nonnegative submillisecond remainder. This is an explicit containing-millisecond convention, not JavaScript TimeClip truncation toward zero.
Convert exact epoch values, explicit dates and independent log lines
Inspect an epoch timestamp
Choose a unit explicitly and compare the same instant in seconds, milliseconds, microseconds and nanoseconds. Signed fractions and large integer values remain exact within the supported four-digit UTC-year profile.
Resolve a qualified calendar representation
Use a complete offset date or an explicit local date and named zone. Invalid calendar dates and DST ambiguity are handled deliberately, while the device timezone is never used as an unstated interpretation.
Review independent batch records
Paste numeric timestamps or offset-date lines and preserve each outcome. Invalid records retain line numbers and errors without erasing valid conversions, and complete CSV retains exact units and original raw values.
Unix timestamp formulas and worked examples
Normalize explicit units to integer nanoseconds
Let be the integer nanosecond count relative to the epoch. Seconds, milliseconds and microseconds are different decimal scalings of the same value. A timestamp unit is an explicit input, not a guess based on the number of digits. The original example uses and resolves to noon UTC on June 10, 2026. Its integer nanosecond representation can be retained without converting that large integer into a floating-point value first.
Example: one nanosecond before the epoch
A value of belongs to the final fractional second before the epoch. Its containing whole second is the preceding second, and its containing whole millisecond is the preceding millisecond. Keeping the exact fraction separately allows the canonical UTC string to end with all nine supported fractional digits. Truncating the count toward zero would identify the wrong containing unit for this negative example. The lower-precision representation is labeled rather than substituted for the primary exact instant.
Preserve the containing-millisecond remainder
The converter uses a floor quotient for whole milliseconds and retains the nonnegative remainder. For a negative count, this differs from truncation toward zero. The exact pair reconstructs the original integer count, so lower-precision native Date formatting does not destroy the nanosecond information stored by the tool. The separately labeled millisecond ISO string is a representation of the floor value; it is not claimed to be the full original instant when a nonzero remainder exists.
Resolve an explicit offset before displaying other zones
An offset-qualified date identifies an instant by subtracting its numeric offset from the stated local calendar value. The instant can then be projected through another named zone’s offset at that instant. Named-zone entry has an additional step: a wall time can be skipped or repeated, so the supported local-input profile checks candidates and requires a repeated-time choice. Display views retain the nanosecond fraction separately from native date formatting and do not infer a local zone from an abbreviation.
Compare a reference without changing the source
The optional comparison subtracts the source instant from a separately entered reference instant. If the reference is earlier, the difference is negative. The calculation retains integer nanoseconds before expressing the elapsed result in seconds. This operation uses the stated POSIX-style epoch model; it does not count named-zone calendar dates, apply business-day rules or add distinct leap-second labels. Batch mode keeps its independent line outcomes instead of applying one reference comparison to an entire collection.
Separate exact instants, display precision and calendar interpretation
Predictable numerical behavior
- Integer nanoseconds retain exact input precision beyond native floating-point integer limits.
- Containing whole milliseconds use a labeled floor with a nonnegative precision remainder.
- Strict calendar checks reject impossible dates, unqualified strings and unsupported leap-second labels.
Complete, reusable context
- Lossless single-result round trips preserve supported fractional digits.
- Complete text and CSV retain hidden views, working and independent batch errors.
- Validated sharing, explicit device-clock capture, copy feedback and a deferred print guard support a reviewable workflow.
Useful for logs, APIs and careful time-data inspection
People reviewing logs and exported data
Compare explicitly labeled epoch units, retain pre-epoch fractions and inspect one result per source line. The tool does not guess a unit from string length or discard invalid lines from the exported audit trail.
People checking API date fields
Verify offset-qualified dates and their UTC interpretation without relying on permissive host-local parsing. Named-zone entry is available when the source represents a local wall time with an explicitly supplied zone.
Students learning timestamp conventions
Explore the epoch, signed values, unit factors, floor versus truncation and submillisecond precision. Distinguish a stored numerical instant from the accuracy of the clock that originally produced it.
How it works in three quick steps.
Choose the input method and its interpretation
Choose a numeric timestamp with an explicit seconds, milliseconds, microseconds or nanoseconds unit; a complete offset-qualified date-time; a local date in a named zone; or independent batch lines. Numeric input supports signed decimals and scientific notation. Offset dates require seconds and Z or a numeric offset. Named-zone input uses dates from 2000 through 2099 and an explicit earlier/later choice when the wall time repeats.
Review exact precision and timezone context
Inspect the canonical UTC instant, exact unit values and separate containing-millisecond floor with its nanosecond remainder. Choose another named display zone when needed. A skipped local time or unsupported subnanosecond value clears stale output rather than being guessed or rounded. In batch mode, every nonblank source line receives its own result or error. A reference instant can be compared separately in single-conversion modes.
Copy, round-trip or save the complete record
Copy canonical UTC or exact Unix seconds, load a single result into the other input method, share validated single-conversion settings or download complete CSV. Batch data uses copying and CSV rather than share URLs. Capture the current device time only when you want a new millisecond-precision snapshot. Print or save PDF for the visible report; complete exports retain hidden unit, timezone and working context.
Save the instant with its unit, source and precision context
Copy exact output or a single-conversion link
Copy canonical UTC, exact Unix seconds or a full plain-text record. Share links retain validated active single-conversion settings. A result can be loaded into date or numeric input without dropping fractional digits.
Download complete CSV
UTF-8 CSV retains raw batch lines, explicit errors, exact unit values, floor/remainder fields, named-zone views and generated working. Hidden sections are retained in the saved record, so report filters do not remove the evidence needed to interpret an instant.
Print or save PDF
Print the current single or batch report, with the selected visible sections. Batch raw excerpts are limited for readable pages while complete values remain in CSV. Choose the browser’s PDF destination and review scale before saving.
Frequently Asked Questions
What does a Unix timestamp count?
How do I distinguish seconds, milliseconds, microseconds and nanoseconds?
Why do negative fractional timestamps need special care?
Which date strings are accepted, and are invalid dates normalized?
Can I convert a local time in a named timezone?
Does JavaScript Date preserve the displayed nanoseconds?
How are batch errors and a reference comparison handled?
What do current-time capture, sharing and downloads preserve?
Continue with durations, meeting zones or storage units
About this Unix Timestamp Converter
The Toolarithm Unix Timestamp Converter gives a stated epoch value or qualified date-time a precise, reviewable interpretation. It preserves the original Unix-second example and its matching offset-date example while extending explicit unit choices through microseconds and nanoseconds. The implementation retains integer nanoseconds rather than converting large timestamp integers into floating-point numbers. Decimal and scientific values are accepted within documented bounds only when they describe a whole number of nanoseconds. The primary UTC profile uses four-digit proleptic Gregorian years from 0001 through 9999; this is a deliberate human-readable scope rather than the full expanded-year range of native Date objects.
Different input methods have different meanings. Numeric timestamps require a selected unit. Offset-date input requires a complete calendar value with an explicit relationship to UTC and rejects impossible dates instead of normalizing them. Local named-zone input uses the previously reviewed timezone-resolution workflow within its supported modern date range. A skipped time is rejected and a repeated time requires an explicit chronological occurrence. These methods resolve one instant, after which named display zones provide local projections. Installed runtime timezone rules supply those projections and can differ across versions or change after regional policy updates.
Precision is kept distinct from presentation. Every exact unit output describes the same instant. A separate containing-millisecond floor and nonnegative nanosecond remainder show how a lower-precision native representation relates to that exact value, including negative fractions before the epoch. The tool does not suggest that printing more digits improves clock accuracy. Its current-time action captures the device clock once at millisecond precision, and its optional reference comparison is an elapsed POSIX-style difference rather than local calendar arithmetic or leap-second accounting.
Independent batch conversion retains one result or error for each nonblank source line. Complete copied records and CSV preserve raw input, all exact units, floors, remainders, display-zone context and hidden working. Single-conversion share links preserve validated active settings; batches use copying and CSV instead. Printed reports follow visible preferences and use compact raw excerpts where a long invalid line would make a page unreadable. The goal is a clear numerical and calendar record whose assumptions stay visible when the result is reused elsewhere.
Who maintains this page
Ownership and review
Written and maintained by the Toolarithm editorial team. No review date is shown without a maintained editorial record. No independent professional review is claimed.
Methodology
Conversion factors are normalized to canonical units and checked in both directions. Exact definitions and offset formulas are preferred over rounded lookup values.
Read the editorial methodologyDates and sources
Review dates change only after a substantive method or content check.
Keep building