zippydevtools logozippydevtools

Search tools

Search tools

Tools

Date & Time

Day Counter

Count calendar days between two dates, compare elapsed and inclusive rules, and review weeks, weekdays, and weekend days.

Processed locally
ElapsedInclusiveWeekdays
Input
Input
Enter both dates and choose how the endpoints are counted.

Start date.

End date.

Counting rule

Elapsed preserves To minus From; inclusive counts both dates.

Output

Process the input to see the result here.

About this tool

Count days between two dates with elapsed or inclusive rules and review weeks, remaining days, weekdays, and weekend days.

When to use

Use it for deadlines, travel periods, project cycles, and calendar intervals when hours and public holidays are outside the rule.

Input

Enter valid YYYY-MM-DD dates. Keep elapsed days for To minus From or select inclusive mode to count both endpoints.

Output

Read the signed total for direction and use the absolute breakdown for full weeks, remaining days, weekdays, and weekend days.

How to use
  1. Enter the start date in From and the end date in To.
  2. Choose elapsed days or include both dates.
  3. Calculate and review direction, total, weeks, and interval composition.
  4. Copy the summary or swap dates to check the opposite direction.
Common use cases
  • Elapsed deadline: Measure the signed interval between a start and delivery date without depending on hours or timezone changes.
  • Inclusive period: Count every day in a booking, trip, or window that includes both the first and last date.
  • Schedule composition: Separate Monday-through-Friday days from weekends before applying an external holiday rule.
Troubleshooting and limitations
  • Same date: Elapsed mode returns zero; inclusive mode returns one because it counts the single entered date.
  • Reverse range: The total is negative while weeks and day composition use the interval magnitude.
  • Leap years: Existing dates such as February 29 are accepted and impossible dates are rejected before calculation.
  • Public holidays: Weekdays mean Monday through Friday; no public-holiday calendar is applied.
Quick examples

Elapsed days in January

Input: From: 2026-01-01 | To: 2026-01-31 | Mode: elapsed

Output: 30 days: 4 full weeks and 2 remaining days

Inclusive date range

Input: From: 2026-01-01 | To: 2026-01-31 | Mode: inclusive

Output: 31 days counting both dates

Reverse date range

Input: From: 2026-01-31 | To: 2026-01-01 | Mode: elapsed

Output: -30 days; direction shows that To comes before From

Day Counter FAQ

How do I count days between two dates?

Enter From and To, choose elapsed or inclusive counting, and run the calculation. The result shows the signed total, full weeks, remaining days, weekdays, and weekend days.

What is the difference between elapsed and inclusive days?

Elapsed preserves To minus From, so identical dates return zero. Inclusive counts both endpoints, so the same date returns one day.

Does the weekday count include public holidays?

No. Weekdays are Monday through Friday and weekend days are Saturday and Sunday. National, regional, local, and company holidays are not removed.

What happens when To is earlier than From?

The total stays negative to make the direction explicit. Breakdowns use the interval magnitude, and the swap button reverses the dates before a new calculation.

Can timezone or daylight-saving changes alter the result?

No. The tool validates YYYY-MM-DD dates and compares UTC day numbers without hours or offsets, preventing drift across daylight-saving transitions.

When should I use another date tool?

Use Days Until Date for a countdown to one target, Age Calculator for completed years, and the timestamp converters when hours and timezone offsets matter.

Are dates or results sent to a server?

No. Calculation and copying run in the browser. Analytics receives only tool, category, locale, and action; it never receives dates or results.