EDT
Everyday Dev Tools
Fast tools, no fuss
Home / date / date-diff
Browser-based tool

Date Difference Calculator

Calculate the number of days, weeks, months, and years between two dates.

Ready
Days
-
Weeks
-
Months
-
Years, Months, Days
-

Add or Subtract from Start Date

Result Date
-

FAQ

Does this account for leap years?

Yes, leap days are included in the calculations.

Can I see multiple units at once?

Yes, see days, weeks, months, and years in a single view.

How To Use It

Calculating Time Differences

The difference in days is straightforward but varies by month.

Leap years affect the calculation of year differences.

Months have different lengths, making month calculations tricky.

Use Cases

Calculate age from a birthday to the current date.

Find out how many days are left until a deadline.

Calculate billing periods and project durations.

Good to know

Runs in your browser

Paste your input at the top and the result shows up right below. The FAQ and related tutorials are there if you want more.

  • Most tools run entirely in your browser.
  • Your input isn't sent to a server unless a tool says it makes a network request.
  • Related tools and tutorials sit below when a task usually needs a follow-up.