Home › Everyday Life › Count Malaysia Division Working Days
Count Malaysia Division Working Days
Counts working and non-working dates for a selected Malaysian division over the pinned 2027 schedule.
When to use
You need an auditable division-specific count.
Do not use when: The division is unknown or employer/sector replacement-day rules matter.
Example user requests
- Count Kuala Lumpur working days from 2027-02-01 to 2027-02-15.
Formula
for each included date: working_days += selected status.is_working_day
Normalize endpoints, apply endpoint flags, and count the official division calendar over its weekly baseline.
Inputs
| Parameter | Type | Unit | Required | Description |
|---|---|---|---|---|
start_date | date | yes | First date in 2027. | |
end_date | date | yes | Last date in 2027. | |
division | enum: KUL | LBN | PJY | JHR | KDH | KTN | MLK | NSN | PHG | PRK | PLS | PNG | SBH | SWK | SGR | TRG | yes | Required federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG. | |
include_start_date | boolean | default true | Whether start_date participates. | |
include_end_date | boolean | default true | Whether end_date participates. |
Outputs
| Output | Type | Unit | Description |
|---|---|---|---|
normalized_start_date | date | Earlier endpoint. | |
normalized_end_date | date | Later endpoint. | |
working_days | integer | Working dates counted. | |
non_working_days | integer | Weekend and official event dates. | |
public_holidays_counted | list | Official events in range. | |
territory | string | MY. | |
territory_name | string | Malaysia. | |
division | string | Normalized division code. | |
division_name | string | Federal territory or state. | |
weekday | string | Gregorian weekday. | |
is_working_day | boolean | False for the division's declared weekly baseline or applicable official holiday. | |
day_type | string | Regular weekday, official weekend or public holiday. | |
weekend_days | string_list | Division weekly-rest baseline. | |
holiday_names | string_list | Official events applying to the date. | |
holiday_observed | boolean | Always false here because no substitute date is inferred. | |
rest_day_policy | string | Employer roster and replacement-day policy are not inferred. | |
substitute_day_policy | string | Replacement dates are not inferred. | |
calendar_scope | string | Selected division's federal/state public holidays and weekly baseline. | |
calendar_profile | string | malaysia-bkpp-public-holidays. | |
dataset_version | string | Pinned BKPP/JPM 2027 package. | |
sources | list | Official government and legislative sources. |
Example
Kuala Lumpur February: {"start_date":"2027-02-01","end_date":"2027-02-15","division":"KUL","include_start_date":true,"include_end_date":true} → {"working_days":10}
GET https://tttkmbb.com/api/v1/calculate/malaysia-working-days-between?start_date=2027-02-01&end_date=2027-02-15&division=KUL&include_start_date=true&include_end_date=true
Machine access
- API:
GET https://tttkmbb.com/api/v1/calculate/malaysia-working-days-between(query parameters) orPOSTwith a JSON body{"inputs": {...}} - Schema: https://tttkmbb.com/api/v1/calculators/malaysia-working-days-between · Markdown: https://tttkmbb.com/everyday/malaysia-working-days-between.md · JSON definition: https://tttkmbb.com/everyday/malaysia-working-days-between.json
- MCP: server
https://tttkmbb.com/mcp, toolcount_my_working_days - OpenAPI operationId:
count_my_working_days - Freshness:
static. Authentication: none. Rate limit: fair use (see rate limits).
Sources
- BKPP JPM Hari Kelepasan Am (federal_government_official_schedule)
- BKPP JPM 2027 schedule notice (federal_government_notice)
- Malaysia.gov.my public holidays (government_portal)
- Holidays Act 1951 (Act 369) (legislation)
- Holidays Ordinance (Sabah Cap. 56) (state_legislation_index)
- Public Holidays Ordinance (Sarawak Cap. 8) (state_legislation_index)
FAQ
Does this count a private employee's rest day?
No. It reports only the declared division baseline and official public-holiday table.
Related calculators
- Malaysia Division Public-Holiday Working Day — Inspect a date and source basis.