epoch timeunix timestamputctime conversion
Epoch Time Explained: Unix Timestamps for Humans
Understand epoch time, UTC timestamps, seconds vs milliseconds, and the most common developer mistakes.
August 2, 2024ยท6 min read
What Epoch Time Means
Epoch time is the number of seconds or milliseconds that have elapsed since January 1, 1970 UTC.
Seconds vs Milliseconds
This is the most common source of confusion:
1719859200is probably seconds1719859200000is probably milliseconds
Where You See It
- JWT claims like
iatandexp - Database records
- API responses
- Queue and cron logs
Quick Sanity Check
If a timestamp converts to a year far in the future or far in the past, you probably mixed up seconds and milliseconds.
Use Epoch Converter for fast checks and UTC Converter when you want a clean UTC-first view.