Years Between Dates
Find the exact years, months, and days between two dates, with correct leap-year handling.
Independently verified for accuracy
Calculator by Toolsloft ↗- Years, months, days
- 26 years, 1 months, 5 days
Find the exact number of years, months, and days between two dates. Useful for anniversaries, service length, and any span you want stated the way people actually say it. Leap days and month lengths are handled correctly.
How this is calculated
The tool counts whole years first, then whole months, then the leftover days, the same convention a date library uses. February 29 is anchored to February 28 in non-leap years, so a span that starts on a leap day lands correctly.
How to use
- Pick the earlier date.
- Pick the later date.
- Read the years, months, and days between them.
Examples
- A clean 26 years:
2000-06-15 to 2026-06-15 = 26 years - Years, months, days:
2000-06-15 to 2026-07-20 = 26 years, 1 month, 5 days - Leap to leap:
2024-02-29 to 2028-02-29 = 4 years
FAQ
- How is a span with a leap day handled?
- February 29 is treated as the end of February, so in a non-leap year it anchors to February 28. This keeps year and month counts correct.
- Does the order of the dates matter?
- No. The earlier date is used as the start, so the result is the same either way.