6 min read
Unix Timestamp Explained
Understand epoch seconds, milliseconds, time zones, and reliable timestamp conversion.
One instant, many displays
A Unix timestamp counts elapsed time from 1970-01-01T00:00:00Z. It represents an instant, while a displayed clock time depends on a time zone.
Seconds or milliseconds
Many server systems use seconds, while JavaScript dates commonly use milliseconds. A value off by a factor of 1,000 often points to this mismatch.
