Count both endpoints while excluding 25 December
Input and settings
2024-12-23 to 12-30 / Include both ends Weekly days off: Sun, Sat / Holiday: 2024-12-25
Expected result
5 business days: 23, 24, 26, 27 and 30 December
Count business days between dates, or add and subtract business days from a date.
The start date is day 0. Counting begins with the next or previous business day. With 0 business days, the start date is returned even if it is a weekend or holiday.
Choose days off that repeat each week. Enter specific dates under Additional holidays.
With Saturday and Sunday off and no additional holidays, September 4–11, 2026 contains five business days when the start is excluded and the end included. In “Add / subtract business days”, adding five days from September 4 also gives September 11; the start is day 0. Adding 2026-09-09 as a holiday reduces the range to four business days and moves the five-business-day target to September 14. Both modes use your weekly days off and additional holidays, including schedules where Saturday is a working day.
Choose between counting business days in a range and moving forward or backward by a set number of business days. In add / subtract mode, the start date is day 0.
Selected weekly days off and additional holidays are excluded. Saturday and Sunday are selected by default. Public holidays are not added automatically, so enter the dates that apply to you.
Check business-day counts and date offsets using your explicit holiday list and weekly days off.
Example buttons replace the inputs and settings above and calculate. Restore previous input steps back one example at a time. After trying multiple examples, repeat restore to return to your original input. This history is lost when the page closes.
2024-12-23 to 12-30 / Include both ends Weekly days off: Sun, Sat / Holiday: 2024-12-25
5 business days: 23, 24, 26, 27 and 30 December
Base 2024-12-27 / Add 2 business days Weekly days off: Sun, Sat / Only holiday: 2024-12-30
Wednesday, January 1, 2025 5 calendar days; 3 skipped. Unlisted 1 January counts.
The interval example removes two weekend days and one listed holiday from eight calendar dates. Offsets start counting after the base date. National holidays are not added automatically. In the second example, unlisted 1 January counts as a business day; enter the actual closures you need.
Intervals require start ≤ end with at most 36,600 days difference. Offsets accept 0–100,000 whole business days; zero returns the base date even on a day off. All seven weekdays cannot be disabled. Half-days, opening hours, regional holiday databases and statutory deadlines are not modeled. Separate YYYY-MM-DD holidays with whitespace or commas.
Verification: existing functions are checked for endpoint inclusion, custom weekly days off, listed and unlisted dates, year rollover and zero offsets. Both interfaces are checked for restoration of checkboxes, modes and original input.
The between-dates mode allows a difference of up to 36,600 days. Business-day offsets accept up to 100,000 business days, with results limited to years 0001–9999.
Dates, custom holidays, weekly days off and the selected calculation mode are not autosaved. Business-day calculations run in the browser; the tool does not retrieve holiday lists from an external service.
No. Add the holidays you want to exclude; the tool does not assume a country.
Yes. Start and end dates have separate inclusion options.
No. The start date is day 0, and the next or previous business day is day 1. With 0 business days, the start date is returned unchanged.
No. The entered dates are not stored.
Share only the tool name and public URL. Your input and results are not included.
Keep any content you need before clearing. This tool does not autosave inputs or results. Reloading or closing the page, clearing inputs or resetting may discard your work.
Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.