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,578 days
In Other Units
| Total seconds | 1,777,939,200 |
|---|---|
| Total hours | 493,872 |
| Total days | 20,578 |
| Total weeks | 2939.7 |
| Total months (calendar) | 676 |
| Total years (calendar) | 56 |
How to Calculate This in Code
JavaScript (with day.js)
dayjs('2026-05-05').diff(dayjs('1970-01-01'), 'day')
// 20578
Python
from datetime import date (date(2026, 5, 5) - date(1970, 1, 1)).days # 20578
Bash (GNU date)
echo $(( ($(date -d '2026-05-05' +%s) - $(date -d '1970-01-01' +%s)) / 86400 )) # 20578