Days Between January 1, 1970 and today
Total elapsed time since the Unix epoch. Computed below across multiple units; if either date is "today", the page reflects the build date.
January 1, 1970 → today
20,712 days
In Other Units
| Total seconds | 1,789,516,800 |
|---|---|
| Total hours | 497,088 |
| Total days | 20,712 |
| Total weeks | 2958.9 |
| Total months (calendar) | 680 |
| Total years (calendar) | 56 |
How to Calculate This in Code
JavaScript (with day.js)
dayjs('2026-09-16').diff(dayjs('1970-01-01'), 'day')
// 20712
Python
from datetime import date (date(2026, 9, 16) - date(1970, 1, 1)).days # 20712
Bash (GNU date)
echo $(( ($(date -d '2026-09-16' +%s) - $(date -d '1970-01-01' +%s)) / 86400 )) # 20712