Days Between Dates

Results

Days Between Dates

The above tool will allow you to calculate the number of days (as well as weeks, months, and years, if applicable) between two different dates. Just select your start date and end date and you'll see how much time is between the dates!

How do you calculate time between two dates?

There are many reasons why you might want to find out the amount of time between two specified dates, for example, someone's age, determining the number of days before an upcoming event, or any other reason.

First, it's useful to determine the total number of dates between the days - this is simply done by counting (although with calculators like the above the counting is done for you). However, to convert into the number of weeks, months, and years we have to add a few more steps into the process:

  1. First, we determine the number of total days between the two dates.
  2. The number of years is determined by comparing the difference in years between the two dates and adjusting for things like leap years. Then counting the remaining days.
  3. The number of months is determined similarly to years, but calculating the total number of months by comparing the year and month values. Then, again, counting the remaining number of days.
  4. Weeks is simpler because it's just the total number of days divided by 7 and the remaining number of days are the modulus of days and 7 (e.g. days % 7). You can read more about the modulus operator here.

Check out our other Time tools:

All of our tools: