📅 TimebeginnerOffline

Date Difference

Days, weeks, months, and years between two dates.

Inputs
Enter your values below.
Result
Your answer appears here.

Enter values and press Calculate — the result appears here.

How it works
The formula behind this calculator.

days = (date2 − date1) / 86,400,000

date1, date2
Two dates

Subtract the two dates and convert milliseconds to days. Account for leap years automatically.

Example: 2024-01-01 to 2024-12-31 = 365 days

Ref: ISO 8601 date format

Tips
  • 💡 Counting days 'between' two dates: do you mean the gap (exclusive) or the inclusive count? Most apps use the exclusive gap.
  • 💡 Use this for project durations, anniversaries, or counting down to events.

Related calculators