Days Since Date Calculator

Days Since Date Calculator

Leading AI Skill PRO

Enter Calculation

Formula

Days=Reference Date−Past Date86400000 ms/day\text{Days} = \frac{\text{Reference Date} - \text{Past Date}}{86400000 \text{ ms/day}}
Usage stats

Advertisement

Results

Days Since That Date
9,816
days have passed
Weeks 1,402.29
Months (approx.) 322.5
Years (approx.) 26.87
Calendar difference 26 yr 10 mo 15 d
Weekdays (Mon–Fri) 7,010

Public holidays are not excluded.

Report an error on this page

What Is the Days Since Date Calculator?

This tool counts how many days have elapsed between a past date and a reference date (today by default). It's handy for tracking how long ago an event happened — a birthday, an anniversary, a project start, a sobriety milestone, or the last time you did something.

How to Use It

Pick the past date. Optionally set a reference date; if you leave it blank the calculator uses today. The result shows the total number of days that have passed, plus equivalent weeks, approximate months, and approximate years.

The Formula

The core calculation subtracts the two calendar dates and divides by the number of milliseconds in a day:

$$\text{Days} = \frac{\text{Reference Date} - \text{Past Date}}{86400000 \text{ ms/day}}$$

Both dates are normalized to midnight so partial days don't skew the count. Secondary figures use \(\text{weeks} = \text{days} \div 7\), \(\text{months} \approx \text{days} \div 30.4375\), and \(\text{years} \approx \text{days} \div 365.25\) (the average accounting for leap years).

Advertisement
Timeline showing a past date and a reference date with the span of days between them
Days elapsed equal the span between a past date and the reference date.

Worked Example

From 1 January 2024 to a reference date of 1 January 2025: 2024 is a leap year, so that span is 366 days. In weeks that's \(366 \div 7 \approx 52.29\) weeks, and in years \(366 \div 365.25 \approx 1.002\) years.

Days Conversion Quick Reference

The table converts common day counts into weeks (days ÷ 7), months (days ÷ 30.4375) and years (days ÷ 365.25). Month and year columns are approximate, because real months have 28 to 31 days and years have 365 or 366 days.

Days Weeks (days/7) Months (approx., days/30.4375) Years (approx., days/365.25)
7 1.00 0.23 0.019
30 4.29 0.99 0.082
60 8.57 1.97 0.164
90 12.86 2.96 0.246
100 14.29 3.29 0.274
180 25.71 5.91 0.493
365 52.14 11.99 0.999
366 52.29 12.02 1.002
500 71.43 16.43 1.369
730 104.29 23.98 1.999
1000 142.86 32.85 2.738
1826 260.86 59.99 4.999

Example of the arithmetic: \(90 \div 30.4375 \approx 2.96\) months and \(90 \div 365.25 \approx 0.246\) years.

Examples Across Different Date Spans

Days are counted as the difference between two calendar dates. Leap years change the totals, so spans that look similar can differ by a day.

Start date Reference date Days elapsed Weeks Note
1 Jan 2023 1 Jan 2024 365 52.14 Common year (2023)
1 Jan 2024 1 Jan 2025 366 52.29 Leap year (2024 has 29 Feb)
28 Feb 2023 1 Mar 2023 1 0.14 No 29 Feb in 2023
28 Feb 2024 1 Mar 2024 2 0.29 29 Feb 2024 exists, so one extra day
1 Jan 2025 31 Dec 2025 364 52.00 One day short of a full common year
1 Jan 2020 1 Jan 2025 1827 261.00 Five years containing two leap days (2020 and 2024)

The last row: \(366 + 365 + 365 + 365 + 366 = 1827\) days, and \(1827 \div 7 = 261\) weeks exactly.

Advertisement

Calendar Constants Used

Constant Value Meaning
Milliseconds per day 86,400,000 \(24 \times 60 \times 60 \times 1000\)
Days per week 7 Used for the weeks figure
Days in a common year 365 Non-leap year
Days in a leap year 366 Includes 29 February
Average Julian year 365.25 Average over a 4-year cycle with one leap day
Average Gregorian year 365.2425 Average over the 400-year Gregorian cycle
Average days per month 30.4375 \(365.25 \div 12\)

Leap year rule (Gregorian calendar): a year is a leap year if it is divisible by 4, except century years, which must also be divisible by 400. So 2024 and 2000 are leap years, while 1900 and 2100 are not.

The core calculation is \(\text{Days} = \frac{ \text{Reference Date} - \text{Past Date} }{86{,}400{,}000}\), with both dates measured in milliseconds.

FAQ

Does it count today? The result is the difference between the two midnights, so the reference day itself is not added as an extra day.

Why are months and years approximate? Calendar months vary from 28 to 31 days, so we use the average month length of 30.4375 days and average year of 365.25 days for a consistent estimate.

Can I count days into the future? This calculator is designed for past dates. If the past date is later than the reference date the day count will be negative.

Last updated:

Most popular in Time and Date

View all Time and Date calculators