CCalcvers

Date Difference Calculator

Days, weeks & hours between two dates.

Your details

The later date.

Compare scenarios

Save this calculation, change an input, then save again to see the difference.

No saved scenarios yet.

Total days between

165days

Thu Jan 01 2026 → Mon Jun 15 2026

PDF report

Your link reproduces this calculation. Nothing is uploaded — history and favorites stay on this device.

Breakdown

0 y 5 m 14 d

calendar difference

Weeks

23.571429

237,600 minutes

Hours

3,960

total hours

Time span breakdown

Time span breakdown
ItemValue
Years0
Months5
Days14

The total day count is the straightforward part — the two timestamps divided by milliseconds per day. The years/months/days breakdown borrows like the age calculation: when the end day is smaller than the start day, we borrow a month from the previous month; when the end month is earlier, we borrow a year. Weeks and hours are simple multiples of the day count, giving you every view of the span at once.

Pro tips

  • Use 'end before start' errors to double-check date entry — the calculator refuses reversed ranges.
  • For recurring deadlines, the week figure helps translate the span into a recurring schedule.

Was this calculator useful?

From deadline countdowns to event planning, knowing the exact span between two dates — in days, weeks, months and hours — is the first step of any schedule. The math is simple arithmetic once the calendar quirks are handled.

Counting the days

Subtracting two dates is straightforward arithmetic at the millisecond level. The interesting part is expressing the result: total days is clean, but a years/months/days breakdown requires borrowing rules for months of different lengths.

The borrowing rules

When the end day falls before the start day in the calendar, you borrow a month's worth of days from the preceding month. When the end month is earlier, you borrow a year. These are the same rules we use to compute age, and they're what makes the breakdown match how humans read dates.

From days to every unit

Once you have total days, every other unit is a multiplier: weeks by seven, hours by 24, minutes by 1,440. The span you're planning suddenly speaks in whichever unit fits the question — workdays, billing periods or countdown hours.

Frequently asked questions

Subtract the start date from the end date — the calculator handles the calendar math including month lengths and returns total days, plus weeks, hours and a years/months/days breakdown.

It counts the complete days between the two dates. A span from Jan 1 to Jan 31 is 30 days.

About 30.44 days (365.25 ÷ 12). For an exact span between two dates, calendar arithmetic counts real month lengths.

Continue your calculation

Related reading

Explore more calculators

Find the right tool for whatever you need to work out.

Browse all