Date Difference Calculator

Find the exact time between any two dates. Get a complete breakdown in years, months, weeks, days, and hours.

How It Works

Enter any two dates and the calculator computes the exact difference. It handles leap years, months with different lengths, and works in both directions — you can enter the dates in any order.

In Excel: Use =DATEDIF(start,end,"d") for total days, or =DATEDIF(start,end,"y") for full years between dates.

Common Uses

Project Duration

Measure how long a project took or how much time remains until a deadline.

Contracts & Warranties

Check if a warranty is still valid or how long a contract has been active.

Personal Milestones

Find how long you've been married, how old your child is, or time since an event.

Related Calculators

Frequently Asked Questions

How does the date difference calculator work?
Enter two dates and the calculator instantly shows the exact difference in years, months, weeks, days, and hours. It works in both directions — either date can be first.
Does it matter which date I enter first?
No. The calculator automatically determines which date is earlier and gives you the correct positive result either way.
Does it count weekends?
Yes, all calendar days are counted. Use the business days calculator for workdays only.
How do I calculate date difference in Excel?
Use =DATEDIF(A1,B1,"d") for days, or =B1-A1 for a simple day count between cells A1 and B1.