
| Date 1 | Date 2 | Counting | Result | Total days | Business days | Note |
| {y} |

Number of Years, Months and Days Between Two Dates
With this calculator, you can find the number of days between two dates. This tool converts the difference into years, months and days. You can also get just the total number of days without conversion.
Features of the duration-between-two-dates calculator
This calculator is very simple to use. Just enter the start date and the end date. The calculator takes care of the rest. You can also choose to display the result in days, months or years.
You can also choose to display the result in total days. This lets you know how many days there are between two dates, without doing any extra math.
Under each date you enter, the matching day of the week is shown automatically: a simple way to check at a glance that you did not make a typo. A Today button also fills a date with today's date, without typing the three boxes.
On top of the duration, the calculator gives the number of business days in the period, along with the breakdown in weeks, hours, minutes and seconds.
To run the calculation, just click the Difference button.
364 or 365 days? Exclusive and inclusive counting
This is the most frequent question about this tool, and it does not come from a calculation error: there are two ways of counting, both correct, that do not answer the same question. The Counting menu at the top of the calculator switches from one to the other.
Exclusive counting: the time elapsed
It is a plain subtraction between two moments: the end date minus the start date. From 09/01/2025 at 12:00 AM to 08/31/2026 at 12:00 AM, 364 days have elapsed. August 31 is not counted as a full day, since 24 hours are still missing before midnight that evening.
This is the mode to choose to measure elapsed time: a person's age, the time between two events, the time left before a deadline.
Inclusive counting: the days covered
In everyday life, as in legal and administrative matters, “from 09/01/2025 to 08/31/2026” is understood with both dates included: from 09/01/2025 at 12:00 AM to 08/31/2026 at 11:59 PM. August 31 is fully included, so the period lasts 365 days, exactly one full year (neither 2025 nor 2026 being a leap year).
This is the mode to choose for a date range: a contract, a lease, a school year, a subscription, a sick leave, a service or a stay. If you are calculating a period of activity, the expected answer is indeed 365 days.
Summary
For a duration between two moments, choose Exclusive: days elapsed. For a date range, choose Inclusive: end date included, which adds the last day to the total. The two modes always differ by exactly one day.
The mode you select is remembered by your browser: you will find it again on your next visit.
Count the business days between two dates
The calculator also gives the number of business days in the period, that is, the days from Monday to Friday, once federal holidays are removed. The detail under the result shows how many weekend days and how many holidays were left out.
This is handy to estimate a delivery time, a notice period or a processing time, or to check a count of days off. The counting mode applies to business days as well: in inclusive mode, the last day is counted if it falls on a business day.
The holidays taken into account
These are the eleven federal holidays set by law (5 U.S.C. 6103): New Year's Day, Martin Luther King Jr. Day (third Monday of January, since 1986), Washington's Birthday (third Monday of February), Memorial Day (last Monday of May), Juneteenth (June 19, since 2021), Independence Day (July 4), Labor Day (first Monday of September), Columbus Day (second Monday of October), Veterans Day (November 11), Thanksgiving Day (fourth Thursday of November) and Christmas Day.
As for federal employees, a holiday that falls on a Saturday is observed on the Friday before, and one that falls on a Sunday on the Monday after: it is that observed day that is removed from the business days. The dates are recalculated for each year, past or future.
State holidays and holidays observed only by some employers (the day after Thanksgiving, Christmas Eve…) are not removed.
Example: calculating the interval between two dates
Let's use two different dates, 07/12/2015 and 06/15/2019, to find the interval.
The interval is therefore 3 years, 11 months and 3 days, or 1434 total days.
Order of the dates
Note that the order of the dates does not matter. If you swap the dates, the result stays the same. For example, if you enter 06/15/2019 and 07/12/2015, the result is still 3 years, 11 months and 3 days, or 1434 total days. The calculator automatically swaps the dates to give you the right result.
Save the data and export it
The calculator automatically records the data you enter. You can also export the data in CSV or PDF format. This lets you keep a record of your calculations and easily share them with other people.
Why calculate the interval between two dates?
This calculator is useful for anyone who wants to calculate their exact age including months and days.
It also lets you find out how long an event lasted. For example, according to Wikipedia, Louis XIV was born on September 5, 1638 and died on September 1, 1715. Thanks to this tool that calculates the duration between two dates, we can find out at what age Louis XIV died: 76 years, 11 months and 27 days.
In addition, this tool can be used in a professional context, for example to calculate the duration of a contract, the time elapsed between two projects, or an employee's seniority in a company.
It can also be very handy for administrative purposes, in particular to check eligibility for certain benefits or pensions that depend on duration criteria.