Devtools.supstudio.in

Tools/Timestamp

Seconds vs milliseconds

What this is

JavaScript Date.now() is milliseconds. Python time.time() is seconds (float). JWT exp is seconds. Mixing them shifts dates by ~500× the age of the universe in the wrong direction — or to 1970 plus a few weeks. This converter guesses by magnitude: |n| < 1e11 → seconds.

1712000000000

2024-04-01T19:33:20.000Z

Open in converter

Zones: UTC · New York · Los Angeles · Chicago · London · Paris · Berlin · India (Kolkata) · Tokyo · Singapore · Dubai · Sydney

FAQ

12-digit values?
Rare. Could be seconds with extra precision or early milliseconds. Inspect the resulting year; 1970 plus days means you used ms as seconds.

Related