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,570 days

In Other Units

Total seconds1,777,248,000
Total hours493,680
Total days20,570
Total weeks2938.6
Total months (calendar)675
Total years (calendar)56

How to Calculate This in Code

JavaScript (with day.js)

dayjs('2026-04-27').diff(dayjs('1970-01-01'), 'day')
// 20570

Python

from datetime import date
(date(2026, 4, 27) - date(1970, 1, 1)).days
# 20570

Bash (GNU date)

echo $(( ($(date -d '2026-04-27' +%s) - $(date -d '1970-01-01' +%s)) / 86400 ))
# 20570
Need the full converter? Open the Timestamp Converter →