EpochLab

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.