Formula
Elapsed days = (end date at UTC midnight − start date at UTC midnight) ÷ 86,400,000. Whole weeks = floor(|elapsed days| ÷ 7). Remaining days = |elapsed days| mod 7.
Time & Date
Count elapsed calendar days between two dates, then see weeks-and-days, inclusive-count warnings, UTC-midnight methodology and a printable date-span record.
Calculator
Elapsed days = (end date at UTC midnight − start date at UTC midnight) ÷ 86,400,000. Whole weeks = floor(|elapsed days| ÷ 7). Remaining days = |elapsed 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
A calendar is a visual calculator: days, weeks and months are arranged so human plans stay aligned with rules, seasons and repeating cycles.
Dates become useful when the grid shows the rule: start point, span, endpoint and the calendar assumptions behind them.
CalculationTime
Elapsed days = (end date at UTC midnight − start date at UTC midnight) ÷ 86,400,000. Whole weeks = floor(|elapsed days| ÷ 7). Remaining days = |elapsed 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 at UTC midnight − start date at UTC midnight) ÷ 86,400,000. Whole weeks = floor(|elapsed days| ÷ 7). Remaining days = |elapsed days| mod 7.
From 15 May 2026 to 14 June 2026, the start date is day zero. The calculator compares UTC midnight on both dates: 30 midnights have elapsed, so the result is 30 days, or 4 whole weeks and 2 remaining days.
Master’s Tip: write “elapsed days” or “inclusive dates counted” on the report. Deadline, subscription, notice and rental rules often add or exclude endpoints, and that convention can change the practical count.
Standard or basis: Gregorian calendar date arithmetic using UTC midnight and 86,400,000 milliseconds per calendar-day step. This is a transparent date-span calculator, not a legal-deadline, payroll, school-term, visa, rental or business-day ruling.
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 at UTC midnight − start date at UTC midnight) ÷ 86,400,000. Whole weeks = floor(|elapsed days| ÷ 7). Remaining days = |elapsed days| mod 7.
Standard or basis: Gregorian calendar date arithmetic using UTC midnight and 86,400,000 milliseconds per calendar-day step. This is a transparent date-span calculator, not a legal-deadline, payroll, school-term, visa, rental or business-day ruling.
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: write “elapsed days” or “inclusive dates counted” on the report. Deadline, subscription, notice and rental rules often add or exclude endpoints, and that convention can change the practical count.
Convert both dates to the same date-only basis, subtract the start date from the end date, then divide by one calendar-day step. This calculator uses UTC midnight so daylight-saving changes do not disturb the day count.
No. The main result is elapsed days, where the start date is day zero. Inclusive counting is a different convention and may add one or two endpoint days depending on the rule.
Elapsed days count midnights crossed between the start and end. Counted dates count named calendar dates touched by a rule. A report should say which convention is being used.
Use it as an arithmetic check only. Legal, court, visa, tenancy, subscription and payroll rules may count endpoints, skip holidays or use local cutoff times.
Print the start date, end date, elapsed-day result, weeks-and-days cross-check, formula, assumptions, page URL, report date and notes about the policy, class, rental, project or deadline rule being checked.
Date-difference arithmetic looks simple, but practical disputes often come from the counting convention. Schedules, rentals, subscriptions, school work and deadline notes need the start date, end date and endpoint rule kept visible.
For ordinary date-span arithmetic, the start date is a point on the calendar grid. Each midnight crossed adds one elapsed day until the end date is reached.
Some human rules count the first date, the last date or both. That can be right for a policy or contract, but it should be labelled separately from the elapsed-day calculation.
Daylight-saving changes can make local clock days 23 or 25 hours long. Evaluating date-only inputs at UTC midnight keeps the calculator focused on calendar dates rather than local clock-hour changes.