Unix Timestamp Explained
Aug 16, 2026
Unix time counts seconds from 1970-01-01 UTC. Learn when a value is in milliseconds and how to convert it.
Seconds from the epoch
Seconds or milliseconds
Date.now() is milliseconds. Many APIs use seconds. A 13-digit integer is usually milliseconds. A 10-digit integer is usually seconds. The timestamp converter applies that rule.
JWT and logs
exp claims are typically seconds. Convert them before you decide a session is expired. Application logs may mix both units; label the field in your own code.
Related tools
Timestamp converter UUID generator for request IDs next to timestamps