Working Days Calculator: Business Days & Public Holidays
Pricing
from $1.00 / 1,000 calculations
Working Days Calculator: Business Days & Public Holidays
Working days calculator: add or count business days and working hours for 200+ countries and their regions, public holidays, Gulf Friday/Saturday weekends, Islamic holidays with Hijri dates, and TARGET2 / stock-exchange calendars. Combine calendars for cross-border deadlines. Pure computation.
Pricing
from $1.00 / 1,000 calculations
Rating
0.0
(0)
Developer
Sean
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Features
Share
Business-Day & Deadline Calculator: Gulf weekends, Hijri holidays, TARGET2
Work out deadlines that respect real-world calendars:
- Add or subtract N business days. Example: "10 business days from 16 March in the UAE".
- Count business days between two dates.
- Find the next or previous business day, or check whether a date is one.
- Add N calendar days, then roll to a business day. Supports following, modified following, preceding and modified preceding, for contracts and settlement.
- Add N working hours inside a 09:00–17:00 (or custom) workday. Use this for SLAs and support tickets.
- List the holidays in a date range.
It covers 200+ countries and their regions (Bavaria, New York, Scotland, Quebec and more). It also covers the Gulf weekends: Friday/Saturday in Saudi Arabia, Qatar, Kuwait, Bahrain and Oman, and Saturday/Sunday in the UAE. Islamic holidays come with an estimated flag and a moon-sighting caveat, and every result also gets a Hijri date (Umm al-Qura). Financial calendars are included too: TARGET2 (ECB), NYSE, LSE, Tadawul and others.
Combine calendars for cross-border work. For example, ["XECB", "AE"] counts a day only if it is a business day in both the euro settlement system and the UAE.
It is pure computation with no scraping and no external API calls, so a run finishes in seconds.
Who it is for
- AI agents and LLM tools that need correct deadline maths instead of guessing. Call it through the Apify API or the Apify MCP server (
mcp.apify.com) as a tool. - Finance and treasury teams: T+N settlement, payment value dates, end-of-month roll conventions.
- Logistics and e-commerce: delivery promise dates across the Middle East and Europe.
- Legal and HR operations: notice periods, response deadlines, SLA clocks.
Input example
{"calculations": [{"label": "UAE invoice due", "operation": "add_business_days", "calendars": ["AE"], "startDate": "2026-03-16", "days": 10},{"label": "Riyadh office reopens", "operation": "next_business_day", "calendars": ["SA"], "startDate": "2026-03-18"},{"label": "Munich working days in Dec", "operation": "count_business_days", "calendars": ["DE-BY"], "startDate": "2026-11-30", "endDate": "2026-12-31"},{"label": "EUR/AED T+2", "operation": "add_business_days", "calendars": ["XECB", "AE"], "startDate": "2026-12-24", "days": 2},{"label": "Coupon date", "operation": "add_calendar_days", "calendars": ["GB-ENG"], "startDate": "2026-01-01", "days": 30, "rollConvention": "modified_following"},{"label": "Support SLA (16 working hours)", "operation": "add_business_hours", "calendars": ["IE"], "startDateTime": "2026-12-24T15:00", "hours": 16, "workdayStart": "09:00", "workdayEnd": "17:30"}],"extraHolidays": ["2026-12-31"]}
If you leave a field out of a calculation (calendars, weekendDays, extraHolidays, extraWorkingDays, workdayStart, workdayEnd, rollConvention), it is taken from the top level. If calculations is empty, the single-calculation form fields are used. If those are empty too, the built-in examples run.
Conventions:
count_business_dayscounts the business days afterstartDate, up to and includingendDate. That wayadd_business_days(start, count) == end.days: 0returns the start date if it is a business day, or else the next business day.- Working-hours times are local wall-clock times. No time-zone conversion is applied.
Output example (one record per calculation)
{"label": "UAE invoice due","operation": "add_business_days","calendars": ["AE"],"weekendDays": ["Saturday", "Sunday"],"startDate": "2026-03-16","businessDays": 10,"resultDate": "2026-04-01","resultWeekday": "Wednesday","resultHijriDate": "1447-10-13","resultIsBusinessDay": true,"nonBusinessDaysSkipped": 6,"holidaysSkipped": 4,"weekendDaysSkipped": 2,"skippedDays": [{"date": "2026-03-19", "weekday": "Thursday", "reason": "holiday", "holidays": [{"name": "Eid al-Fitr Holiday", "calendar": "AE", "estimated": false}]}],"containsEstimatedHolidays": false,"caveat": "Some Islamic holidays here are estimates. Their exact dates depend on official moon-sighting announcements ...","source": "Computed offline from the open-source python-holidays library ...","licence": "Holiday rules: python-holidays, MIT licence ..."}
Inputs that cannot be used come back as a record with an error field and are not charged.
Calendar codes
- Countries: ISO 3166 alpha-2 codes, e.g.
AE,SA,QA,KW,BH,OM,EG,JO,TR,IE,GB,US,DE,FR,IN,PK,MY,ID. - Regions:
COUNTRY-REGION, e.g.DE-BY,US-NY,GB-SCT,CA-QC,ES-CT,AU-NSW. - Markets:
XECB(aliasTARGET2),XNYS,XNAS,XLON,XSAU(Tadawul),XETR,XHKG,XJPX,XBOM,XNSE,XTSE,XSESand more.
Pricing (pay per event)
- $0.005 per run start.
- $0.001 per successful calculation. 1,000 deadlines cost $1.
- Rejected inputs are free. Platform compute is minimal, because a run is under 10 seconds at 512 MB.
Data source and licence
- Holiday rules come from the open-source python-holidays library (MIT licence, © Vacanza Team and contributors). It is maintained from official government sources.
- Hijri dates come from hijridate (MIT licence), which is based on the official Umm al-Qura calendar.
- The library version is printed in every record's
sourcefield. - No personal data is processed.
Limits and honest caveats
- Islamic holidays:
- Dates marked
estimated: trueare astronomical estimates. Gulf governments confirm Eid dates only days ahead, after moon sighting, and sometimes add bridge days. - Re-run close to the date, or add announced days with
extraHolidays. - Hijri conversion covers 1924–2077.
- Dates marked
- What counts as a holiday: only public holidays as modelled by the library. That excludes company shutdowns, half-days (such as UAE Friday afternoons for some sectors) and some "substitute day" practices. Use
extraHolidaysorextraWorkingDaysto adjust. - Supported range: dates from 1950 to 2099. Scans are capped at about 10 years, and
list_holidaysat about 5 years per calculation. - Results are informational, not legal or financial advice. Check statutory deadlines against the official source.