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.

Common date difference examples

Here are typical date calculations with their exact differences. Use the calculator below for your specific dates:

Start Date End Date Difference Common Use
Jan 1, 2020 Feb 17, 2026 6 years, 1 month, 16 days Employment duration, project timeline
Jan 1, 2024 Dec 31, 2024 0 years, 11 months, 30 days Calendar year duration
Jan 1, 2020 Jan 1, 2025 5 years, 0 months, 0 days Exactly 5 years
Mar 1, 2020 Feb 28, 2021 0 years, 11 months, 28 days Almost 1 year (leap year)
Jul 4, 2020 Jul 4, 2026 6 years, 0 months, 0 days Anniversary calculation
Sep 1, 2020 Jun 30, 2024 3 years, 9 months, 29 days School/academic period
Jan 15, 1990 Feb 17, 2026 36 years, 1 month, 2 days Age from birth date
Jan 1, 2000 Jan 1, 2030 30 years, 0 months, 0 days Generational span

Note: All calculations account for leap years and varying month lengths (28-31 days). The calculator shows completed years, months, and remaining days.

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:

  1. Years: Count complete years between the two dates
  2. Months: Count remaining complete months after years
  3. Days: Count remaining days after years and months

Example calculation:

The calculator automatically handles:

All calculations are performed locally in your browser. No dates are stored or transmitted. Privacy guaranteed. Learn more on our privacy page.

Common Uses

More Helpful Calculators

Looking for other time and age calculators?

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.