Microseconds Converter
Convert microseconds to a date, and back
The 16-digit form. PostgreSQL uses it inside, and so does ClickHouse. In Python you get it from `time_ns() / 1000`. Chrome's own clock uses it too, but counts from 1601.
Questions people ask
The things that come up about microseconds converters, answered plainly.
Is a 17-digit number microseconds?
It is probably Chrome time, also called WebKit time. That is in microseconds too, but it counts from 1601, not 1970. So the number is about 11.6 billion seconds larger. Chromium browsers use it for cookies and history.
Does JavaScript support microsecond precision?
Not in `Date`, which only goes down to the millisecond. `performance.now()` is finer than that, but it counts from when the page loaded. Browsers also blur it on purpose, to block timing attacks.
Related tools
Seconds, milliseconds, microseconds and nanoseconds, in both directions.
Milliseconds ConverterThe 13-digit form. It is what `Date.now()` and `System.currentTimeMillis()` return, and what most Java and JavaScript code uses. Convert it either way, with the seconds value shown beside it.
Nanoseconds ConverterThe 19-digit form, used by Go's `UnixNano`, Prometheus, InfluxDB and OpenTelemetry. You also get a warning about the digits JavaScript can drop on the way.
Unix Timestamp ConverterPaste a timestamp and get the date; paste a date and get the timestamp. The precision is detected from the digit count and shown so you can override it, and a number that is not Unix time is checked against the other eleven epochs too.
Timestamp to DateOne field, one answer — the timestamp as a date and time in your zone, in UTC, and in about thirty other encodings you might need to paste somewhere.