Date Duration Calculator
Days, weeks, months, and years between two dates, with weekday counts and total hours.
Calendar breakdown
- Years
- 0
- Months
- 0
- Weeks
- 4
- Days
- 2
Total units
- Total days
- 30
- Total hours
- 720
- Total minutes
- 43,200
- Total seconds
- 2,592,000
Weekdays
- Weekdays (M–F)
- 22
- Weekend days
- 8
Day of week
- Start
- Thursday
- End
- Saturday
How the duration is calculated
The calculator takes two instants and walks forward from the earlier one through whole years, then whole months, then weeks and days, which gives the calendar breakdown. Separately, it measures the exact gap in seconds and converts that to total days, hours, minutes, and seconds. Both views are correct; they answer different questions. A lease from March 1 to September 1 is 6 months on the calendar and 184 days in total. If the end date is earlier than the start, the direction is noted and all values are shown as positive magnitudes.
Inclusive versus exclusive counting
By default the end date is not counted, so Monday to Friday is 4 days: the number of midnights crossed. That matches how most date libraries, spreadsheets, and legal notice periods work. Turn on Include end date when both endpoints are part of the span, such as a hotel stay, a rental period, or a medication course, and the same Monday to Friday becomes 5 days. Off-by-one disputes almost always come down to this toggle, so check which convention the other party is using before comparing numbers.
Weekdays, weekends, and holidays
The Weekdays panel counts Monday through Friday within the span and reports the remaining Saturdays and Sundays as weekend days. This is the figure to use for working-day estimates, SLA clocks, and payroll periods. Public holidays are deliberately left in, since a holiday in one country is a normal workday in another, and company calendars add their own. Subtract the holidays that apply to you from the weekday count to get business days in the strict sense.
Time of day and daylight saving
Dates alone count whole days from midnight to midnight. Enable Include time of day when the hours matter, for example a shift that starts at 22:00 and ends at 06:30 the next morning, or a support ticket opened at 09:14 and closed at 17:02. The calculation uses the IANA time zone database, so a span that crosses a daylight-saving change in your zone is 23 or 25 hours long, not 24, and the totals reflect that.
Common uses
Project managers use the weekday count to size sprints and deadlines. Finance teams use total days for interest, prorated rent, and contract terms. Developers use total seconds to sanity-check timestamp arithmetic, then paste the CSV into a test fixture. Anyone comparing ages, anniversaries, or notice periods wants the calendar breakdown in years, months, and days. For the reverse question, adding a duration to a date, use the Epoch Math tool.
Related tools
Frequently asked questions
- How many days between two dates?
- Enter a start and end date — the calculator shows total days, weekdays (Mon–Fri), and weekend days. Toggle "Include end date" to count that day as well.
- What is the difference between calendar days and business days?
- Calendar days count all 7 days of the week. Business days (weekdays) count only Monday through Friday, excluding weekends but not public holidays.
- Does the calculator handle leap years?
- Yes. Luxon's date arithmetic is fully aware of leap years, so spans crossing February 28–March 1 are always counted correctly.
- Can I calculate duration in hours or minutes?
- Yes — the Total Units panel shows total hours, minutes, and seconds. Toggle "Include time of day" to count partial days at a specific hour.
- How many weeks are between two dates?
- The calendar breakdown shows whole weeks left over after years and months are removed. For the total, divide Total days by 7: a 100-day span is 14 weeks and 2 days. Use the weeks figure for sprints and the total days figure for billing.
- How do I count days excluding weekends?
- Read the Weekdays (M–F) row. It counts every Monday through Friday in the span and ignores Saturdays and Sundays. Public holidays are not removed, because they differ by country and employer; subtract them yourself for a working-day count.
- Why is the month count different from dividing days by 30?
- Months are not a fixed length. The calculator steps through real calendar months, so January 15 to March 15 is exactly 2 months even though it spans 59 days. Dividing by 30 would give 1.97, which is why calendar and total units are shown separately.
- What is the difference between days between and days until?
- Days between measures any two dates you choose. Days until always starts from today and counts to a future event. If you only need a countdown to a holiday or deadline, the Countdown and Days Until pages do that with one input.