How Date Difference Calculator works
This tool measures the time between two dates and reports it six ways: total days, whole weeks plus leftover days, hours, minutes, completed years and completed months. A Breakdown line underneath gives the same gap as years, months and days. The count runs from the start date up to, but not including, the end date, so January 1 to January 2 is 1 day. Every February 29 inside the range is counted. For example, from October 8, 2026 to December 25, 2026 is 78 days, which is 11 weeks and 1 day, or 2 months and 17 days.
Worked examples: days, weeks and months between two dates
Counting down to a date this year
Start date October 8, 2026; End date December 25, 2026
78 days. 11 weeks plus 1 day, 1,872 hours, 112,320 minutes. Breakdown: 2 months, 17 days.
A school year
Start date September 1, 2026; End date June 15, 2027
287 days. Exactly 41 weeks, 6,888 hours. Breakdown: 9 months, 14 days.
A long span across several leap years
Start date January 1, 2000; End date October 8, 2026
9,777 days. 1,396 weeks plus 5 days, 234,648 hours, 14,078,880 minutes, 321 months. Breakdown: 26 years, 9 months, 7 days.
Ten years of service
Start date June 18, 2016; End date October 8, 2026
3,764 days. 537 weeks plus 5 days, 123 months. Breakdown: 10 years, 3 months, 20 days.
Dates entered in reverse
Start date December 25, 2026; End date October 8, 2026
78 days, the same as the first example. The Breakdown line lists the earlier date first.
Days from January 1 to the first of each month
A quick reference for day counts within a year. The leap year column applies to years such as 2028 and 2032.
| From January 1 to | Common year | Leap year |
|---|---|---|
| February 1 | 31 | 31 |
| March 1 | 59 | 60 |
| April 1 | 90 | 91 |
| May 1 | 120 | 121 |
| June 1 | 151 | 152 |
| July 1 | 181 | 182 |
| August 1 | 212 | 213 |
| September 1 | 243 | 244 |
| October 1 | 273 | 274 |
| November 1 | 304 | 305 |
| December 1 | 334 | 335 |
| January 1 of the next year | 365 | 366 |
To get the days between any two month starts in the same year, subtract one row from the other: April 1 to October 1 is 273 - 90 = 183 days.
Day counts converted to weeks, hours and minutes
| Total days | Weeks | Hours | Minutes |
|---|---|---|---|
| 1 | 0 plus 1 day | 24 | 1,440 |
| 30 | 4 plus 2 days | 720 | 43,200 |
| 90 | 12 plus 6 days | 2,160 | 129,600 |
| 100 | 14 plus 2 days | 2,400 | 144,000 |
| 365 | 52 plus 1 day | 8,760 | 525,600 |
| 366 | 52 plus 2 days | 8,784 | 527,040 |
| 1,000 | 142 plus 6 days | 24,000 | 1,440,000 |
| 10,000 | 1,428 plus 4 days | 240,000 | 14,400,000 |
Hours and minutes are the day count multiplied by 24 and by 1,440. Dates have no time of day here, and clock changes for daylight saving are not applied.
How the difference is calculated
Total days = end date - start date. Weeks = total days / 7, rounded down, with the remainder shown as extra days. Hours = total days x 24. Minutes = total days x 1,440.
The years, months and days breakdown is worked out separately, the way you would count on a calendar: subtract the years, then the months, then the days. If the end day number is smaller than the start day number, one month is borrowed and the length of the month before the end date is added to the days. For October 8 to December 25: months 12 - 10 = 2, days 25 - 8 = 17, giving 2 months, 17 days. The Months figure in the panel is the total of completed months (years x 12 plus months), and Years is the count of completed years. In a spreadsheet, =B1-A1 gives the same total days when both cells hold dates.
Counting the end date or not
The total here is the gap between two dates. That matches how you would describe elapsed time and how hotel nights work: check in on Friday, check out on Sunday, and you have stayed 2 nights.
Many everyday counts include both the first and the last day. A leave request from Monday to Friday is 5 days, a car hired from the 1st to the 7th is usually billed as 7 days, and an event running from the 10th to the 12th lasts 3 days. For those, add 1 to Total days.
Deadlines sit in between. A rule worded as within 30 days of a date normally leaves out the day of the event and counts the last day, which is the same as adding the number to the start date. When a deadline matters, read how the contract or regulation defines the count before relying on any calculator.
If only working days matter, use the Business Days Calculator on this site, which leaves out Saturdays and Sundays.
Step by step
- 1
Enter the Start date. It opens on today's date.
- 2
Enter the End date. If it is earlier than the start date, the two are swapped automatically.
- 3
Read Total days, Weeks, Hours, Minutes, Years and Months in the Difference panel.
- 4
Copy the Breakdown line for the gap written as years, months and days, with both dates and their weekdays spelled out.