Home › Everyday Life › Global Working Days Between Dates
Global Working Days Between Dates
Counts weekday-baseline working days in a date range for any supported CLDR alpha-2 territory code, with explicit endpoint rules and no hidden holiday assumptions.
When to use
You need a worldwide weekday-based count for a stated territory and public holidays are intentionally outside scope.
Do not use when: The count must reflect public holidays, substitute days, employer closures, bank settlement, exchange, school or religious calendars.
Example user requests
- How many weekday-baseline working days are between 2026-10-01 and 2026-10-15 in AE?
- Count Saudi weekday working days from 2026-06-01 through 2026-06-30.
Formula
for each included date: working_days += not is_weekend; non_working_days += is_weekend
Normalize reversed endpoints, apply endpoint inclusion flags and count only the CLDR weekend pattern. Public holidays are not inferred.
Inputs
| Parameter | Type | Unit | Required | Description |
|---|---|---|---|---|
start_date | date | yes | First Gregorian date. | |
end_date | date | yes | Last Gregorian date. | |
territory | enum: AC | AD | AE | AF | AG | AI | AL | AM | AN | AO | AQ | AR | AS | AT | AU | AW | AX | AZ | BA | BB | BD | BE | BF | BG | BH | BI | BJ | BL | BM | BN | BO | BQ | BR | BS | BT | BU | BV | BW | BY | BZ | CA | CC | CD | CF | CG | CH | CI | CK | CL | CM | CN | CO | CP | CQ | CR | CS | CU | CV | CW | CX | CY | CZ | DD | DE | DG | DJ | DK | DM | DO | DZ | EA | EC | EE | EG | EH | ER | ES | ET | EU | EZ | FI | FJ | FK | FM | FO | FR | FX | GA | GB | GD | GE | GF | GG | GH | GI | GL | GM | GN | GP | GQ | GR | GS | GT | GU | GW | GY | HK | HM | HN | HR | HT | HU | ID | IE | IL | IM | IN | IO | IQ | IR | IS | IT | JE | JM | JO | JP | KE | KG | KH | KI | KM | KN | KP | KR | KW | KY | KZ | LA | LB | LC | LI | LK | LR | LS | LT | LU | LV | LY | MA | MC | MD | ME | MF | MG | MH | MK | ML | MM | MN | MO | MP | MQ | MR | MS | MT | MU | MV | MW | MX | MY | MZ | NA | NC | NE | NF | NG | NI | NL | NO | NP | NR | NT | NU | NZ | OM | PA | PE | PF | PG | PH | PK | PL | PM | PN | PR | PS | PT | PW | PY | QA | QO | QU | RE | RO | RS | RU | RW | SA | SB | SC | SD | SE | SG | SH | SI | SJ | SK | SL | SM | SN | SO | SR | SS | ST | SU | SV | SX | SY | SZ | TA | TC | TD | TF | TG | TH | TJ | TK | TL | TM | TN | TO | TP | TR | TT | TV | TW | TZ | UA | UG | UM | UN | US | UY | UZ | VA | VC | VE | VG | VI | VN | VU | WF | WS | XK | YD | YE | YT | YU | ZA | ZM | ZR | ZW | yes | CLDR territory code in alpha-2 form. The complete accepted-code enum is exposed here; it includes ISO-style territory codes plus CLDR regional and legacy codes where present. | |
include_start_date | boolean | default true | Whether start_date participates in the count. | |
include_end_date | boolean | default true | Whether end_date participates in the count. |
Outputs
| Output | Type | Unit | Description |
|---|---|---|---|
normalized_start_date | date | Earlier endpoint. | |
normalized_end_date | date | Later endpoint. | |
working_days | integer | working days | Weekday-baseline working dates counted. |
non_working_days | integer | days | Weekend dates counted. |
calendar_days_counted | integer | days | Total included dates. |
territory | string | Normalized uppercase CLDR territory code. | |
territory_display_name | string | Calcgrid display name; TW is displayed as 中国台湾省 while the machine code remains TW. | |
weekend_days | string_list | Territory weekend convention from CLDR. | |
calendar_scope | string | weekday_pattern_only; public holidays are intentionally not included. | |
holiday_policy | string | public_holidays_not_included for this global baseline. | |
calendar_profile | string | Machine-readable profile id: global-weekday-baseline. | |
calendar_selection_catalog_url | string | Use this catalog before selecting a jurisdiction-specific holiday package. | |
dataset_version | string | Pinned CLDR weekend-data version. | |
source_url | string | Pinned CLDR JSON source. |
Example
Australian fortnight baseline: {"start_date":"2026-10-01","end_date":"2026-10-15","territory":"AU","include_start_date":true,"include_end_date":true} → {"working_days":11,"non_working_days":4,"calendar_days_counted":15}
GET https://tttkmbb.com/api/v1/calculate/global-working-days-between?start_date=2026-10-01&end_date=2026-10-15&territory=AU&include_start_date=true&include_end_date=true
Machine access
- API:
GET https://tttkmbb.com/api/v1/calculate/global-working-days-between(query parameters) orPOSTwith a JSON body{"inputs": {...}} - Schema: https://tttkmbb.com/api/v1/calculators/global-working-days-between · Markdown: https://tttkmbb.com/everyday/global-working-days-between.md · JSON definition: https://tttkmbb.com/everyday/global-working-days-between.json
- MCP: server
https://tttkmbb.com/mcp, toolcount_global_working_days - OpenAPI operationId:
count_global_working_days - Freshness:
static. Authentication: none. Rate limit: fair use (see rate limits).
Sources
- Unicode CLDR 48.2 supplemental weekData.json (standards)
FAQ
Are endpoints included?
Yes by default; set either flag false to exclude it.
Does this count national holidays?
This is a global weekday baseline, not a public-holiday, bank-settlement, exchange, school, employer, religious or emergency-closure calendar. Use a jurisdiction-specific evidence package when holiday exclusions matter.
Related calculators
- Global Working Day Baseline — Inspect one date.
- Add Global Working Days — Add or subtract a weekday-baseline offset.