Unix time
Unix time counts seconds from the epoch, 1970-01-01 00:00:00 UTC. Because it has no time zone, it’s how computers store and compare moments; it’s converted to local time only for display.
shell: date +%s date -d @1700000000 JavaScript: Date.now() / 1000 new Date(1700000000 * 1000) Python: time.time() datetime.fromtimestamp(1700000000, timezone.utc)
Detecting the unit
Today’s timestamps are 10 digits in seconds, 13 in milliseconds, 16 in microseconds and 19 in nanoseconds. The converter uses that to read the number correctly, so you can paste from logs, databases or JSON without editing.