Formula
Elapsed days = end date − start date in UTC calendar days. Counted days = elapsed days + include start flag + include end flag. Whole weeks = floor(abs(counted days) ÷ 7). Remaining days = abs(counted days) mod 7.
Time & Date
Calculate elapsed days between two calendar dates, with inclusive-date options, weeks-and-days breakdown and a printable date-span record.
Calculator
Elapsed days = end date − start date in UTC calendar days. Counted days = elapsed days + include start flag + include end flag. Whole weeks = floor(abs(counted days) ÷ 7). Remaining days = abs(counted days) mod 7.
This is the method behind the answer, so the result can be checked rather than simply trusted.What-if check
The calendar endpoints stay fixed. Only the counting rule changes, which is why the printable report keeps the inclusive-date choices visible.
| Counting rule | Days | Weeks + days |
|---|---|---|
| Elapsed only | 30 | 4w 2d |
| Include start | 31 | 4w 3d |
| Include end | 31 | 4w 3d |
| Include both | 32 | 4w 4d |
Visual proof
The line shows the elapsed span; the table shows how inclusive counting can add filing or policy days.
Visual grid
Days Between Dates is not just a final answer. It is a step on a line: before and after, input and output, assumption and result.
CalculationTime keeps the path visible: the input, the method and the final number belong together.
CalculationTime
Elapsed days = end date − start date in UTC calendar days. Counted days = elapsed days + include start flag + include end flag. Whole weeks = floor(abs(counted days) ÷ 7). Remaining days = abs(counted days) mod 7.
Use this space on the printed report for client, supplier, classroom, job-location, measurement, quote or approval notes.
Elapsed days = end date − start date in UTC calendar days. Counted days = elapsed days + include start flag + include end flag. Whole weeks = floor(abs(counted days) ÷ 7). Remaining days = abs(counted days) mod 7.
From 18 May 2026 to 17 June 2026, elapsed days = 30. Whole weeks = floor(30 ÷ 7) = 4, with 2 days remaining. If both start and end dates are counted inclusively, counted days would be 32, or 4 weeks and 4 days.
Master’s Tip: decide whether you need elapsed time or counted dates before printing the report. Payroll, rent, leave, school terms and custody schedules can use different inclusive-date rules even when the same two dates are entered.
Standard or basis: proleptic Gregorian calendar date arithmetic using UTC midnight boundaries. This page is a general calculator, not a legal, payroll, tenancy, benefits or court deadline interpretation.
Methodology & Accuracy
CalculationTime pages are built around visible arithmetic: the formula, assumptions, worked example and practical limitations are shown so the result can be checked rather than simply trusted.
Elapsed days = end date − start date in UTC calendar days. Counted days = elapsed days + include start flag + include end flag. Whole weeks = floor(abs(counted days) ÷ 7). Remaining days = abs(counted days) mod 7.
Standard or basis: proleptic Gregorian calendar date arithmetic using UTC midnight boundaries. This page is a general calculator, not a legal, payroll, tenancy, benefits or court deadline interpretation.
Where a calculator follows a named legal, trade or industry standard, that standard is cited visibly. Otherwise the page uses transparent general arithmetic and states its limits.Master’s Tip: decide whether you need elapsed time or counted dates before printing the report. Payroll, rent, leave, school terms and custody schedules can use different inclusive-date rules even when the same two dates are entered.
Subtract the start date from the end date using calendar-day boundaries. The calculator uses UTC midnight for both dates, then reports the elapsed days.
For elapsed time, do not count the start date as a full day. For records such as rentals, leave, custody, school attendance or worksheets, use the inclusive option only if that rule is required.
Elapsed days measure the time from one date boundary to another. Inclusive days count named dates touched by the period, which can add the start date, the end date, or both depending on the rule.
No for this calculator. It compares calendar dates at UTC midnight, so daylight-saving clock changes do not add or remove calendar days.
Print the start date, end date, inclusive-counting choices, elapsed days, counted days, weeks-and-days breakdown, formula, page date and notes so the counting basis can be checked later.
Date-span questions look simple until people mix elapsed time with inclusive date counting. A transparent days-between-dates record keeps the start date, end date, day count and counting rule together so the result can be checked instead of argued later.
If a project starts Monday and ends Wednesday, the elapsed span is two days. A form or worksheet might count Monday, Tuesday and Wednesday as three included dates. Both can be valid if the counting rule is named.
Local daylight-saving changes can make a clock day 23 or 25 hours long. This calculator compares date boundaries at UTC midnight so the answer remains a whole calendar-day count.
The same dates can appear in a classroom worksheet, rent note, leave plan, payroll memo or family schedule. Printing the inclusive-date choice beside the result makes the counting basis explicit.