10 vs 13 digits
10 digits usually indicate seconds; 13 digits usually indicate milliseconds.
Convert 13-digit millisecond timestamps and compare them with 10-digit Unix seconds to avoid unit mistakes.
Use this guide when working with JavaScript Date.now(), frontend logs, analytics events, or systems that store milliseconds.
1700000000000 1700000000
1700000000000 milliseconds equals 1700000000 seconds when divided by 1000.
If a date appears far in the future, a millisecond value may have been treated as seconds.
10 digits usually indicate seconds; 13 digits usually indicate milliseconds.
Do not divide by 1000 again if the tool already gives seconds output.
Large values can produce unrealistic dates if interpreted with the wrong unit.
JavaScript Date.now() returns milliseconds since the Unix epoch.
Divide the millisecond timestamp by 1000, or copy the seconds output from the tool.
Milliseconds need three extra digits compared with Unix seconds.