Break the difference between two dates into years, months and days.
A calendar difference borrows from the next larger unit when a component is negative, exactly like long subtraction. The number of days borrowed depends on the preceding month, which is why the same day gap gives different results in different months. This is how ages and service lengths are stated, and why two people the same number of days apart in age can show different year-month-day breakdowns.
Date Difference
Subtract each component, borrowing from the next unit when a component goes negative
Subtract each component, borrowing from the next unit when a component goes negative A calendar difference borrows from the next larger unit when a component is negative, exactly like long subtraction. The number of days borrowed depends on the preceding month, which is why the same day gap gives different results in different months.
This is how ages and service lengths are stated, and why two people the same number of days apart in age can show different year-month-day breakdowns.
This calculator takes 6 inputs: Start date year, Start date month, Start date day, End date year, End date month, End date day. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.