About this tool
Convert timestamps in bulk from seconds, milliseconds, microseconds or nanoseconds to dates, or turn zoned date-times back into timestamps. Show several IANA time zones at once with correct daylight-saving handling.
Typical uses
- Convert millisecond timestamps in logs to local time
- Show a meeting time across several countries
- Convert timestamps exported from a database
How to use
Choose timestamps, offset ISO or local date/time in an IANA zone. Enter one per line and explicitly select seconds, milliseconds, microseconds or nanoseconds.
Choose up to 6 output zones, inspect each result or error, then copy or export TXT/CSV. Save frequently used units and zones as local presets.
Up to 200 lines, 64,000 characters, 256 characters per line and 256 KB per file. Timestamps retain nanosecond precision without guessing units. ISO requires Z or ±HH:MM. Ambiguous or missing local DST times are rejected by default, with explicit earlier/later choices. Input times are not saved.
The same digits read in four units
The tool never guesses a unit from the number of digits; it uses Input unit exactly. The same 1792713600 gives very different UTC times. In logs, 10 digits are usually seconds and 13 usually milliseconds, but that is only a habit. A result close to 1970 usually means the wrong unit was selected:
| Unit | UTC ISO |
|---|---|
| Seconds | 2026-10-23T00:00:00Z |
| Milliseconds | 1970-01-21T17:58:33.6Z |
| Microseconds | 1970-01-01T00:29:52.7136Z |
| Nanoseconds | 1970-01-01T00:00:01.7927136Z |
Decimal places are limited per unit so that results stay exact to the nanosecond: 9 for seconds, 6 for milliseconds, 3 for microseconds, and none for nanoseconds. Values are converted with integer arithmetic rather than floating point, so .123456789 seconds is not rounded. Line by line:
| Input | Unit | Result |
|---|---|---|
| 1792713600.123456789 | Seconds | 2026-10-23T00:00:00.123456789Z |
| -0.001 | Milliseconds | 1969-12-31T23:59:59.999999Z |
| 1792713600000.0000001 | Milliseconds | Precision exceeds nanoseconds: up to 9 decimal places for seconds, 6 for milliseconds, 3 for microseconds; nanoseconds must be integers. |
| 1.5e12 | Milliseconds | Enter a decimal timestamp; negatives and fractions are allowed, exponent notation is not. |
| 8640000000000000 | Milliseconds | +275760-09-13T00:00:00Z |
| 8640000000000001 | Milliseconds | The time is outside the supported range. |
The last two rows mark the supported range: 8.64 × 10¹⁵ milliseconds either side of 1970, which ends at +275760-09-13T00:00:00Z. Use current time switches to timestamp input and fills in the current moment in the selected unit, with millisecond precision (at most three decimals when the unit is seconds).
ISO input: the offset is required
ISO time with offset requires each line to end in Z or ±HH:MM. Date and time may be separated by T or a space, seconds and fractions are optional, and fractions may have up to 9 digits. A missing offset, a leap second :60 and an impossible date are all errors:
| Input | Result |
|---|---|
| 2026-10-23T09:30:00+08:00 | 2026-10-23T01:30:00Z |
| 2026-10-23 09:30+08:00 | 2026-10-23T01:30:00Z |
| 2026-10-23T01:30:00.123456789Z | 2026-10-23T01:30:00.123456789Z |
| 2026-10-23T09:30:00 | Enter a valid ISO date/time with Z or a ±HH:MM offset; leap seconds are not accepted. |
| 2016-12-31T23:59:60Z | Enter a valid ISO date/time with Z or a ±HH:MM offset; leap seconds are not accepted. |
| 2026-02-30T00:00:00Z | Enter a valid ISO date/time with Z or a ±HH:MM offset; leap seconds are not accepted. |
For times without an offset, use Local time in a time zone and enter an IANA name such as America/Chicago in Input time zone. Forms such as Chicago or GMT-6 are rejected.
Daylight saving: missing and repeated local times
In the time-zone data the tool uses, America/New_York jumps from 2:00 to 3:00 on 2026-03-08, so 02:30 does not exist, and repeats the hour from 1:00 to 2:00 on 2026-11-01, so 01:30 happens twice. The three Daylight-saving ambiguity settings give (New York time = UTC):
| Setting | 2026-03-08 02:30 | 2026-11-01 01:30 |
|---|---|---|
| Reject ambiguous / missing times | This local time is repeated or missing due to daylight saving. Explicitly select the earlier or later interpretation. | This local time is repeated or missing due to daylight saving. Explicitly select the earlier or later interpretation. |
| Earlier (shift back for gaps) | 2026-03-08T01:30:00-05:00 = 2026-03-08T06:30:00Z | 2026-11-01T01:30:00-04:00 = 2026-11-01T05:30:00Z |
| Later (shift forward for gaps) | 2026-03-08T03:30:00-04:00 = 2026-03-08T07:30:00Z | 2026-11-01T01:30:00-05:00 = 2026-11-01T06:30:00Z |
- With the default Reject ambiguous / missing times, both lines are marked as errors in the table while other lines convert normally.
- For a repeated time, Earlier takes the first occurrence (daylight time, -04:00) and Later the second (standard time, -05:00).
- For a missing time, Earlier applies the offset from before the change, so the result reads 01:30; Later applies the offset from after it and reads 03:30. Neither is the 02:30 you typed, so check that the shift is acceptable.
- Other regions have their own dates. Europe/Berlin, for example, repeats 02:30 on 2026-10-25 and is rejected by default too.
Batch results, exports and error messages
Enter one value per line. Blank lines are skipped but line numbers are kept: for 1792713600000, a blank line and abc, the summary reads "1 succeeded · 1 failed · 1 blank lines skipped" and abc is reported as line 3. Download CSV starts with a UTF-8 BOM and uses CRLF. Headers are always English and the error column uses the page language. The input column and the four timestamp columns get a leading apostrophe so spreadsheets do not round long integers into scientific notation or run them as formulas (first 7 columns shown):
| CSV |
|---|
| "line","input","UTC ISO","seconds","milliseconds","microseconds","nanoseconds",… |
| "1","'1792713600000","2026-10-23T00:00:00Z","'1792713600","'1792713600000","'1792713600000000","'1792713600000000000",… |
| "3","'abc","","","","","",… |
Download TXT and Copy all use tabs and LF, without apostrophes. The zone list is deduplicated case-insensitively, so UTC and utc count once. A misspelt output or input zone (such as Chicago or GMT-6), or more than 6 output zones, stops the whole batch with "Enter 1–6 valid IANA time zones, separated by commas or newlines." Presets store the input type, unit, zones and daylight-saving policy, never the times you entered.
| Limit | Value | Message |
|---|---|---|
| Per run (lines / characters) | 200 / 64,000 | Maximum 200 lines and 64,000 characters. Split the input to continue. |
| Characters per line | 256 | Enter a time; up to 256 characters per line. |
| Output time zones | 6 | Enter 1–6 valid IANA time zones, separated by commas or newlines. |
| Imported TXT file | 256 KB | Import failed: use a UTF-8 file up to 256 KB. |
Frequently asked questions
How does it know seconds from milliseconds?
It never guesses. You choose seconds, milliseconds, microseconds or nanoseconds explicitly.
What about DST transitions?
Missing or ambiguous local times are rejected by default; you can explicitly choose the earlier or later instant.
How many lines at once?
Up to 200 lines and 64,000 characters.
Suggest an improvement to this tool
Missing an option, something awkward to use, or a wrong result? Let us know.