unix timestamp converter
How to convert Unix timestamps
Unix time counts seconds (or ms) since 1970-01-01T00:00:00Z. Logs and APIs use integers; humans need ISO-8601.
Seconds vs ms
10 digits are usually seconds; 13 are milliseconds. Mixing them shifts dates by centuries or ms.
Convert in LedaTools
Paste Unix or ISO, convert either way, and copy. Instant and local.
Timezone
Epoch is UTC. ISO strings with Z are unambiguous for APIs.
Log debugging
When a log shows 1717200000, convert it immediately to correlate with human-readable errors.
JS Date
In JavaScript, new Date(ms) uses milliseconds. Multiply Unix seconds by 1000.
FAQ
Seconds or ms?
10 digits ≈ seconds; 13 ≈ milliseconds.
Timezone?
ISO in UTC (Z). Epoch is UTC.
Date to Unix?
Yes. Paste ISO and convert to seconds.