Skip to main content

Published: 2026-07-06Last updated: 2026-08-19By Davide Coronese

Days & Cohort Time Between Dates

Find exact date difference: total days, weeks, months, hours, and business working days. Choose to include or exclude the end date and handle leap years correctly.

Local calculation in your browserno data sent — formula in lib/calculators/*.ts + automated tests
Time Calculation ConversionVerified source
Days Between = | Date 2 - Date 1 | ÷ 86,400,000 | Inclusive = Exclusive + 1 | Business = Total - Weekends

Each date is turned into a day count, then subtracted. Inclusive count adds one to include the final date. Business days keep Monday to Friday. Leap years follow the 400/4/100 rule, so 2024 has 366 days while 2023 has 365.

Days Between Dates Calculator

Need the number of days between two dates? Pick the start and end dates and you will get the exact count, including leap years and business days. Great for deadlines and countdowns.

TL;DR

  • Enter a start date and an end date
  • Time Calculation Conversion: Days Between = | Date 2 - Date 1 | ÷ 86,400,000 | Inclusive = Exclusive + 1 | Bu
  • Example 1: Days between Jan 1, 2026 and Dec 31, 2026

How it works

Enter a start date and an end date. The calculator counts calendar days between them, respecting month lengths and leap years. You can exclude the end date for a pure gap or include it when the final day belongs in the total, like a rental ending on the 31st. Switch to business days to skip weekends. The view also shows weeks with remainder days and hours by multiplying days by 24. Dates are treated as midnight in local time, so daylight saving shifts do not change the day total.

The math

Each date becomes a day count, then subtracted. One day is 86,400,000 milliseconds. Inclusive adds one. Business days drop weekends. Leap years add Feb 29.

Each date is turned into a day count, then subtracted. Inclusive count adds one to include the final date. Business days keep Monday to Friday. Leap years follow the 400/4/100 rule, so 2024 has 366 days while 2023 has 365.

Examples

Example 1: Days between Jan 1, 2026 and Dec 31, 2026

  1. Start Date: Jan 1, 2026
  2. End Date: Dec 31, 2026
  3. Since 2026 is a standard year, the absolute chronological duration is 364 days (exclusive) or 365 days (inclusive).

Example 2: Project Sep 2 to Sep 13, 2024

  1. Start: 2024-09-02, End: 2024-09-13
  2. Exclusive: 11 days, Inclusive: 12 days
  3. Business days Mon-Fri: 10 days
  4. In hours: 11 × 24 = 264 hours

Example 3: Leap year Jan 1 to Mar 1, 2024

  1. 2024 is leap, Feb has 29 days
  2. Jan 1 to Mar 1 = 31 (Jan) + 29 (Feb) = 60 days
  3. In 2023 the same span is 59 days

When to use it

Project Milestone Planning

Calculate exact business or calendar days remaining before a software release or legal filing deadline.

Billing Cycles and Interest Accrual

Determine exact payment cycles to compute interest for personal loans and business transactions.

Personal Events and Goal Tracking

Count down days until your wedding, graduation, or travel departure.

⚠ Common mistakes

  • Inclusive vs Exclusive Boundaries: Forgetting to clarify whether the starting or ending day should be counted in the total duration.
  • Leap Year Discrepancies: Failing to account for the extra leap day in leap years, resulting in a 1-day error.

FAQ (6)

How does leap year affect the calculation?

Leap years automatically insert February 29th, increasing the day count between affected dates by 1.

What is inclusive calculation?

Inclusive calculation counts both the start date and end date as full days in the final result.

Is my data kept private when I use these everyday tools?

Yes. Whether it's a word count or a time-between-dates check, nothing is sent to a server. The page does the counting locally — you can paste a draft, get 1,242 words and 6 min reading time, and close it without a trace.

Do I need internet after the first load?

Not really. Once cached, word-counter, hours, fuel-cost and the rest work offline. Handy if you're drafting on a train or counting hours on site without signal — load once, use anywhere.

How reliable are the results for work?

They follow documented rules — reading time at 200-250 wpm, hours as decimal, etc. — and are tested automatically. For casual use they're spot-on; for payroll with overtime rules or legal word-count filings, do a final check against your HR or editorial guide.

What's the fastest way to share a result?

'Share Link' does it. It encodes your inputs in the address bar, so the other person sees the exact same hours (e.g. 09:15 to 17:45 = 8h 30m) without you retyping.

Related Calculators

Looking for other tools?Discover our full collection of lightweight offline-ready resources
Back to Dashboard