Precision Timestamp Converter
Convert Unix seconds, milliseconds, microseconds and nanoseconds exactly. Inspect time-zone differences and daylight-saving ambiguity without sending your data anywhere.
Browser-based · No account required · Copy and export
Source & interpretation
Choose the known source unit for a reliable conversion.
Date → exact Unix units
Exact conversion result
Browser-local · No APIExact Unix representations
Resolution, not clock accuracy, is reported here.
Named-zone comparison · Same instant
Unit ambiguity · Alternative interpretations
Suggestions based on magnitude are not evidence of the original unit. Select an alternative to recalculate.
V1-compatible text report
Compare two exact instants
Signed difference = B − A. Select each source unit independently.
Elapsed time & ordering
Enter two timestamps and choose Compare to see their exact ordering.
This is elapsed time, not calendar months or time-zone wall-clock subtraction.
Inspect timestamp fields in pasted logs
Scans only common time fields (timestamp, ts, iat, exp, created_at, updated_at, event_time, time). Doesn't contact log URLs.
Suggested time fields
No log inspected yet.
| Line | Field | Suggested unit | UTC if guessed correctly |
|---|
CSV includes only line, field name, suggested unit and derived UTC; raw log lines and tokens are omitted. No automatic redaction guarantee for arbitrary names.
Exact arithmetic uses signed integer nanoseconds; named-zone rules are supplied by the browser/OS. A timestamp's precision does not establish clock accuracy. No live clock synchronization, traffic capture, or remote processing is performed.
How to use Precision Timestamp Converter
- Enter a timestamp and choose seconds, milliseconds, microseconds or automatic detection.
- For the reverse direction, enter an ISO date and choose how a date without an offset should be interpreted.
- Convert, inspect UTC and local output, then copy or download the report. Use Now to fill the current instant.
When to use this tool
Inspect one Unix timestamp, convert its unit or create a timestamp from a chosen date. Use Epoch Converter when you need to process a list and download CSV with per-row errors.
Units and time zones answer different questions
Unix time counts from the UTC epoch. Changing display time zone does not change that instant. Automatic unit detection uses magnitude, which is only a heuristic. The V2 engine retains exact signed nanoseconds using BigInt; JavaScript Date and browser time-zone rules are only used for calendar display. Integer dates do not prove clock accuracy.
Worked example
Input: 0 seconds
UTC: 1970-01-01T00:00:00.000Z
Input: 1000 milliseconds
UTC: 1970-01-01T00:00:01.000Z Normalize a log timestamp before comparing date strings
- For an authored epoch exercise, enter 1000 and select Milliseconds explicitly. Its calculated instant is 1970-01-01T00:00:01.000Z.
- Convert the same digits with Seconds selected. The calculated instant is now 1970-01-01T00:16:40.000Z: changing units changes the instant.
- For date-to-timestamp work, enter an ISO date with Z or an explicit offset. The no-offset interpretation selector matters only when that offset is absent.
- Download the conversion with its input unit. Do not preserve only an unlabeled number in a log or bug report.
Calculated reference values, not captured tool results. Auto suggestions are heuristics; exact submillisecond digits are preserved by the BigInt engine. Use Time Zone Converter to compare named-zone clock readings of an instant; a different display zone does not change Unix time.
Limits and output checks
Exact epoch arithmetic supports larger values than JavaScript Date can render; date/time-zone display is bounded by the browser Date range. Submillisecond fractions are retained exactly in the engine. Prefer an ISO date with Z or an explicit offset for reproducibility. Wall-clock dates with no offset use the selected UTC/browser/named-zone interpretation and explicitly reject DST gaps or overlaps unless Earlier/Later is selected.
Reference: JavaScript Date range and precision.
Frequently asked questions
Is auto-detection always correct?
No. Small millisecond values or distant dates can be ambiguous. Select the known unit explicitly.
Does microsecond output add precision?
The V2 BigInt engine preserves explicitly supplied microseconds and nanoseconds. Date.now() itself offers only millisecond resolution, which does not imply its clock is accurate to that level.
Can I save the conversion?
Yes. Download conversion saves the displayed report as text without sending it to a server.
Inspect one timestamp and its unit
Select the known time unit explicitly when automatic detection would be ambiguous. Use an ISO value with an explicit offset when reproducing a conversion.
Scope of this workflow
A date without Z or an explicit offset uses the selected UTC or named-zone policy. Nanosecond input retains its exact digits independently of Date-based display.
Epoch Converter — Seconds, ms & Batch Dates · All developer tools · Privacy policy · Contact PixelOkay