Calculate Time Between Two Dates (Years, Months & Days)
Calculate the exact time between two dates in years, months, and days. Enter any start and end date to see the precise difference. Example: from January 1, 2020 to February 17, 2026 = 6 years, 1 month, 16 days. Useful for employment duration, project timelines, anniversaries, age calculations, and any date difference calculation.
Results update automatically
Looking for ages by year instead of exact dates? Visit the birth year hub.
How to calculate time between two dates
Calculate employment duration
Enter your start date and end date (or today's date if still employed) to see your exact employment duration. Example: started January 1, 2020 and it's now February 17, 2026 = 6 years, 1 month, 16 days of employment. Useful for résumés, job applications, retirement calculations.
Calculate age from birth date
Enter a birth date as the start date and any other date as the end date to calculate someone's age on that date. Example: born January 15, 1990, age on February 17, 2026 = 36 years, 1 month, 2 days. For current age, use the main age calculator.
Calculate project or event duration
Track project timelines, contract durations, or event spacing. Example: project from March 1, 2023 to October 15, 2025 = 2 years, 7 months, 14 days. Useful for planning, billing, milestone tracking.
Calculate time until future dates
Use today's date as the start and a future date as the end to calculate time remaining. Example: from February 17, 2026 to January 1, 2030 = 3 years, 10 months, 15 days. For birthday countdowns specifically, use the birthday countdown calculator.
How date difference is calculated
The calculator subtracts the start date from the end date using precise calendar arithmetic:
- Years: Count complete years between the two dates
- Months: Count remaining complete months after years
- Days: Count remaining days after years and months
Example calculation:
- Start: January 1, 2020
- End: February 17, 2026
- Result: 6 years (2020→2026), 1 month (Jan→Feb), 16 days (1→17)
The calculator automatically handles:
- Leap years: 2020, 2024 are leap years (366 days), accurately counted
- Varying month lengths: Accounts for 28, 29, 30, or 31-day months
- Past or future dates: Works in any direction
All calculations are performed locally in your browser. No dates are stored or transmitted. Privacy guaranteed. Learn more on our privacy page.
Common Uses
- Calculate age between birth date and today
- Find duration of employment or service
- Measure time between two events
- Check eligibility age requirements
More Helpful Calculators
Looking for other time and age calculators?
- Age Calculator – Exact age in years, months, and days
- Birthday Countdown – Days until your next birthday
- Age Difference – Age gap between two people
- Age in Future Year – How old will you be in a specific year?
- Half Birthday – Next half birthday date and countdown
- Age in Months – Total months (and optional weeks/days)
- Retirement Age – Years and days until retirement
Calculate time between dates: FAQs
How do I calculate the time between two dates?
Enter a start date and end date in the calculator. Results show immediately in years, months, and days. Example: from January 1, 2020 to February 17, 2026 = 6 years, 1 month, 16 days.
How many days between two dates?
The calculator shows the breakdown in years, months, and days. For total days only: multiply years by 365, add ~30 days per month, plus remaining days. Example: 6 years, 1 month, 16 days ≈ 2,238 days (accounting for leap years).
Can I calculate employment duration?
Yes. Enter your employment start date and either your end date or today's date. Example: started January 1, 2020, still working February 17, 2026 = 6 years, 1 month, 16 days of service. Useful for résumés and retirement calculations.
Does this account for leap years?
Yes. The calculator automatically includes leap years (2020, 2024, 2028, etc.) and varying month lengths (28-31 days) for precise date difference calculations.
Can I calculate future dates?
Yes. Use any combination of past, present, or future dates. Example: from today (Feb 17, 2026) to January 1, 2030 = 3 years, 10 months, 15 days. For birthday-specific countdowns, use the birthday countdown calculator.
What's the difference between this and the age calculator?
The age calculator is optimized for finding your current age (today's date is automatically set). This calculator is for any two dates — employment spans, project durations, event planning, or custom date ranges.
Is this calculator free?
Yes. This date difference calculator is completely free, requires no registration, and stores no personal data. All calculations run in your browser.