Days Between WHO declares COVID pandemic and today

Time since the WHO declared COVID-19 a pandemic. Computed below across multiple units; if either date is "today", the page reflects the build date.

March 11, 2020 → today

2,238 days

In Other Units

Total seconds193,363,200
Total hours53,712
Total days2,238
Total weeks319.7
Total months (calendar)73
Total years (calendar)6

How to Calculate This in Code

JavaScript (with day.js)

dayjs('2026-04-27').diff(dayjs('2020-03-11'), 'day')
// 2238

Python

from datetime import date
(date(2026, 4, 27) - date(2020, 3, 11)).days
# 2238

Bash (GNU date)

echo $(( ($(date -d '2026-04-27' +%s) - $(date -d '2020-03-11' +%s)) / 86400 ))
# 2238
Need the full converter? Open the Timestamp Converter →