Days Between January 1, 2020 and January 1, 2025
First five years of the 2020s. Computed below across multiple units; if either date is "today", the page reflects the build date.
January 1, 2020 → January 1, 2025
1,827 days
In Other Units
| Total seconds | 157,852,800 |
|---|---|
| Total hours | 43,848 |
| Total days | 1,827 |
| Total weeks | 261.0 |
| Total months (calendar) | 60 |
| Total years (calendar) | 5 |
How to Calculate This in Code
JavaScript (with day.js)
dayjs('2025-01-01').diff(dayjs('2020-01-01'), 'day')
// 1827
Python
from datetime import date (date(2025, 1, 1) - date(2020, 1, 1)).days # 1827
Bash (GNU date)
echo $(( ($(date -d '2025-01-01' +%s) - $(date -d '2020-01-01' +%s)) / 86400 )) # 1827