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

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

ParameterTypeUnitRequiredDescription
start_datedateyesFirst date in 2027.
end_datedateyesLast date in 2027.
divisionenum: KUL | LBN | PJY | JHR | KDH | KTN | MLK | NSN | PHG | PRK | PLS | PNG | SBH | SWK | SGR | TRGyesRequired federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG.
include_start_datebooleandefault trueWhether start_date participates.
include_end_datebooleandefault trueWhether end_date participates.

Outputs

OutputTypeUnitDescription
normalized_start_datedateEarlier endpoint.
normalized_end_datedateLater endpoint.
working_daysintegerWorking dates counted.
non_working_daysintegerWeekend and official event dates.
public_holidays_countedlistOfficial events in range.
territorystringMY.
territory_namestringMalaysia.
divisionstringNormalized division code.
division_namestringFederal territory or state.
weekdaystringGregorian weekday.
is_working_daybooleanFalse for the division's declared weekly baseline or applicable official holiday.
day_typestringRegular weekday, official weekend or public holiday.
weekend_daysstring_listDivision weekly-rest baseline.
holiday_namesstring_listOfficial events applying to the date.
holiday_observedbooleanAlways false here because no substitute date is inferred.
rest_day_policystringEmployer roster and replacement-day policy are not inferred.
substitute_day_policystringReplacement dates are not inferred.
calendar_scopestringSelected division's federal/state public holidays and weekly baseline.
calendar_profilestringmalaysia-bkpp-public-holidays.
dataset_versionstringPinned BKPP/JPM 2027 package.
sourceslistOfficial 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

Sources

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