{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"malaysia-working-days-between"},"result":{"entity_type":"calculator","id":"malaysia-working-days-between","calculator_id":"malaysia-working-days-between","canonical_url":"https://tttkmbb.com/everyday/malaysia-working-days-between","name":"Count Malaysia Division Working Days","title":"Count Malaysia Division Working Days – BKPP/JPM","category":"everyday","category_name":"Everyday Life","tool_name":"count_my_working_days","featured_mcp_tool":true,"description":"Counts working and non-working dates for a selected Malaysian division over the pinned 2027 schedule.","use_when":"You need an auditable division-specific count.","do_not_use_when":"The division is unknown or employer/sector replacement-day rules matter.","agent_examples":["Count Kuala Lumpur working days from 2027-02-01 to 2027-02-15."],"inputs":[{"name":"start_date","label":"start_date","type":"date","required":true,"description":"First date in 2027.","example":"2027-02-01"},{"name":"end_date","label":"end_date","type":"date","required":true,"description":"Last date in 2027.","example":"2027-02-15"},{"name":"division","label":"Malaysia division","type":"enum","required":true,"values":[{"value":"KUL","label":"KUL"},{"value":"LBN","label":"LBN"},{"value":"PJY","label":"PJY"},{"value":"JHR","label":"JHR"},{"value":"KDH","label":"KDH"},{"value":"KTN","label":"KTN"},{"value":"MLK","label":"MLK"},{"value":"NSN","label":"NSN"},{"value":"PHG","label":"PHG"},{"value":"PRK","label":"PRK"},{"value":"PLS","label":"PLS"},{"value":"PNG","label":"PNG"},{"value":"SBH","label":"SBH"},{"value":"SWK","label":"SWK"},{"value":"SGR","label":"SGR"},{"value":"TRG","label":"TRG"}],"description":"Required federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG.","example":"KUL"},{"name":"include_start_date","label":"include_start_date","type":"boolean","required":false,"default":true,"description":"Whether start_date participates.","example":true},{"name":"include_end_date","label":"include_end_date","type":"boolean","required":false,"default":true,"description":"Whether end_date participates.","example":true}],"outputs":[{"name":"normalized_start_date","label":"normalized_start_date","type":"date","decimals":4,"description":"Earlier endpoint."},{"name":"normalized_end_date","label":"normalized_end_date","type":"date","decimals":4,"description":"Later endpoint."},{"name":"working_days","label":"working_days","type":"integer","decimals":4,"description":"Working dates counted."},{"name":"non_working_days","label":"non_working_days","type":"integer","decimals":4,"description":"Weekend and official event dates."},{"name":"public_holidays_counted","label":"public_holidays_counted","type":"list","decimals":4,"description":"Official events in range."},{"name":"territory","label":"territory","type":"string","decimals":4,"description":"MY."},{"name":"territory_name","label":"territory_name","type":"string","decimals":4,"description":"Malaysia."},{"name":"division","label":"division","type":"string","decimals":4,"description":"Normalized division code."},{"name":"division_name","label":"division_name","type":"string","decimals":4,"description":"Federal territory or state."},{"name":"weekday","label":"weekday","type":"string","decimals":4,"description":"Gregorian weekday."},{"name":"is_working_day","label":"is_working_day","type":"boolean","decimals":4,"description":"False for the division's declared weekly baseline or applicable official holiday."},{"name":"day_type","label":"day_type","type":"string","decimals":4,"description":"Regular weekday, official weekend or public holiday."},{"name":"weekend_days","label":"weekend_days","type":"string_list","decimals":4,"description":"Division weekly-rest baseline."},{"name":"holiday_names","label":"holiday_names","type":"string_list","decimals":4,"description":"Official events applying to the date."},{"name":"holiday_observed","label":"holiday_observed","type":"boolean","decimals":4,"description":"Always false here because no substitute date is inferred."},{"name":"rest_day_policy","label":"rest_day_policy","type":"string","decimals":4,"description":"Employer roster and replacement-day policy are not inferred."},{"name":"substitute_day_policy","label":"substitute_day_policy","type":"string","decimals":4,"description":"Replacement dates are not inferred."},{"name":"calendar_scope","label":"calendar_scope","type":"string","decimals":4,"description":"Selected division's federal/state public holidays and weekly baseline."},{"name":"calendar_profile","label":"calendar_profile","type":"string","decimals":4,"description":"malaysia-bkpp-public-holidays."},{"name":"dataset_version","label":"dataset_version","type":"string","decimals":4,"description":"Pinned BKPP/JPM 2027 package."},{"name":"sources","label":"sources","type":"list","decimals":4,"description":"Official government and legislative sources."}],"input_schema":{"type":"object","properties":{"start_date":{"description":"First date in 2027.","type":"string","format":"date","examples":["2027-02-01"]},"end_date":{"description":"Last date in 2027.","type":"string","format":"date","examples":["2027-02-15"]},"division":{"description":"Required federal-territory/state code: KUL, LBN, PJY, JHR, KDH, KTN, MLK, NSN, PHG, PRK, PLS, PNG, SBH, SWK, SGR or TRG.","type":"string","enum":["KUL","LBN","PJY","JHR","KDH","KTN","MLK","NSN","PHG","PRK","PLS","PNG","SBH","SWK","SGR","TRG"],"examples":["KUL"]},"include_start_date":{"description":"Whether start_date participates.","type":"boolean","default":true,"examples":[true]},"include_end_date":{"description":"Whether end_date participates.","type":"boolean","default":true,"examples":[true]}},"additionalProperties":false,"required":["start_date","end_date","division"],"examples":[{"start_date":"2027-02-01","end_date":"2027-02-15","division":"KUL","include_start_date":true,"include_end_date":true}]},"output_schema":{"type":"object","properties":{"normalized_start_date":{"description":"Earlier endpoint.","type":"string","format":"date"},"normalized_end_date":{"description":"Later endpoint.","type":"string","format":"date"},"working_days":{"description":"Working dates counted.","type":"integer"},"non_working_days":{"description":"Weekend and official event dates.","type":"integer"},"public_holidays_counted":{"description":"Official events in range.","type":"array"},"territory":{"description":"MY.","type":"string"},"territory_name":{"description":"Malaysia.","type":"string"},"division":{"description":"Normalized division code.","type":"string"},"division_name":{"description":"Federal territory or state.","type":"string"},"weekday":{"description":"Gregorian weekday.","type":"string"},"is_working_day":{"description":"False for the division's declared weekly baseline or applicable official holiday.","type":"boolean"},"day_type":{"description":"Regular weekday, official weekend or public holiday.","type":"string"},"weekend_days":{"description":"Division weekly-rest baseline.","type":"array","items":{"type":"string"}},"holiday_names":{"description":"Official events applying to the date.","type":"array","items":{"type":"string"}},"holiday_observed":{"description":"Always false here because no substitute date is inferred.","type":"boolean"},"rest_day_policy":{"description":"Employer roster and replacement-day policy are not inferred.","type":"string"},"substitute_day_policy":{"description":"Replacement dates are not inferred.","type":"string"},"calendar_scope":{"description":"Selected division's federal/state public holidays and weekly baseline.","type":"string"},"calendar_profile":{"description":"malaysia-bkpp-public-holidays.","type":"string"},"dataset_version":{"description":"Pinned BKPP/JPM 2027 package.","type":"string"},"sources":{"description":"Official government and legislative sources.","type":"array"}}},"formula":"for each included date: working_days += selected status.is_working_day","method":"Normalize endpoints, apply endpoint flags, and count the official division calendar over its weekly baseline.","sources":[{"name":"BKPP JPM Hari Kelepasan Am","url":"https://www.kabinet.gov.my/hari-kelepasan-am/","type":"federal_government_official_schedule","published_at":"2026-08-20"},{"name":"BKPP JPM 2027 schedule notice","url":"https://www.kabinet.gov.my/3689-2/","type":"federal_government_notice","published_at":"2026-08-20"},{"name":"Malaysia.gov.my public holidays","url":"https://www.malaysia.gov.my/my/government/public-holidays--school-holidays/cuti-umum","type":"government_portal"},{"name":"Holidays Act 1951 (Act 369)","url":"https://www.kabinet.gov.my/storage/2024/11/1951_12_31_akta369.pdf","type":"legislation"},{"name":"Holidays Ordinance (Sabah Cap. 56)","url":"https://www.kabinet.gov.my/akta-dan-warta/","type":"state_legislation_index"},{"name":"Public Holidays Ordinance (Sarawak Cap. 8)","url":"https://www.kabinet.gov.my/akta-dan-warta/","type":"state_legislation_index"}],"freshness":{"type":"static","max_age_seconds":null,"note":"BKPP publishes the next federal/state schedule after official review; refresh only after the official page changes."},"examples":[{"name":"Kuala Lumpur February","inputs":{"start_date":"2027-02-01","end_date":"2027-02-15","division":"KUL","include_start_date":true,"include_end_date":true},"expected":{"working_days":10},"url":"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"}],"faq":[{"q":"Does this count a private employee's rest day?","a":"No. It reports only the declared division baseline and official public-holiday table."}],"tags":["Malaysia","BKPP","count working days"],"related":[{"calculator_id":"malaysia-working-day","reason":"Inspect a date and source basis."}],"links":{"html":"https://tttkmbb.com/everyday/malaysia-working-days-between","markdown":"https://tttkmbb.com/everyday/malaysia-working-days-between.md","json":"https://tttkmbb.com/everyday/malaysia-working-days-between.json","api":"https://tttkmbb.com/api/v1/calculate/malaysia-working-days-between","schema":"https://tttkmbb.com/api/v1/calculators/malaysia-working-days-between","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-27"},"timestamp":"2026-09-29T12:52:34Z","links":{"mcp":"https://tttkmbb.com/mcp","a2a":"https://tttkmbb.com/a2a","openapi":"https://tttkmbb.com/openapi.json","llms_txt":"https://tttkmbb.com/llms.txt","feed":"https://tttkmbb.com/feed.xml","ard":"https://tttkmbb.com/.well-known/ard.json","ai_catalog":"https://tttkmbb.com/.well-known/ai-catalog.json","agent_card":"https://tttkmbb.com/.well-known/agent-card.json","mcp_server_card":"https://tttkmbb.com/mcp/server-card","mcp_server_card_legacy":"https://tttkmbb.com/.well-known/mcp-server-card.json","ai_plugin":"https://tttkmbb.com/.well-known/ai-plugin.json","agent_capabilities":"https://tttkmbb.com/agent-capabilities.json","docs":"https://tttkmbb.com/docs/index.md","privacy":"https://tttkmbb.com/docs/privacy","terms":"https://tttkmbb.com/docs/terms","support":"https://tttkmbb.com/docs/support","china_work_calendar_data":"https://tttkmbb.com/api/v1/data/china-work-calendar/2026","uk_bank_holidays_data":"https://tttkmbb.com/api/v1/data/uk-bank-holidays","iana_tzdb_data":"https://tttkmbb.com/api/v1/data/iana-tzdb","global_working_day_data":"https://tttkmbb.com/api/v1/data/global-working-day","global_public_holiday_data":"https://tttkmbb.com/api/v1/data/global-public-holidays","global_working_day_reference_data":"https://tttkmbb.com/api/v1/data/global-working-day-reference","australia_public_holidays_data":"https://tttkmbb.com/api/v1/data/australia-public-holidays","us_federal_holidays_data":"https://tttkmbb.com/api/v1/data/us-federal-holidays","canada_federal_holidays_data":"https://tttkmbb.com/api/v1/data/canada-federal-holidays","japan_national_holidays_data":"https://tttkmbb.com/api/v1/data/japan-national-holidays","india_central_government_holidays_data":"https://tttkmbb.com/api/v1/data/india-central-government-holidays","uae_federal_holidays_data":"https://tttkmbb.com/api/v1/data/uae-federal-holidays","new_zealand_public_holidays_data":"https://tttkmbb.com/api/v1/data/new-zealand-public-holidays","south_africa_public_holidays_data":"https://tttkmbb.com/api/v1/data/south-africa-public-holidays","ireland_public_holidays_data":"https://tttkmbb.com/api/v1/data/ireland-public-holidays","france_public_holidays_data":"https://tttkmbb.com/api/v1/data/france-public-holidays","argentina_public_holidays_data":"https://tttkmbb.com/api/v1/data/argentina-public-holidays","uzbekistan_public_holidays_data":"https://tttkmbb.com/api/v1/data/uzbekistan-public-holidays","vietnam_public_holidays_data":"https://tttkmbb.com/api/v1/data/vietnam-public-holidays","bangladesh_public_holidays_data":"https://tttkmbb.com/api/v1/data/bangladesh-public-holidays","sri_lanka_public_holidays_data":"https://tttkmbb.com/api/v1/data/sri-lanka-public-holidays","nigeria_public_holidays_data":"https://tttkmbb.com/api/v1/data/nigeria-public-holidays","ghana_public_holidays_data":"https://tttkmbb.com/api/v1/data/ghana-public-holidays","pakistan_public_holidays_data":"https://tttkmbb.com/api/v1/data/pakistan-public-holidays","kenya_public_holidays_data":"https://tttkmbb.com/api/v1/data/kenya-public-holidays","egypt_public_holidays_data":"https://tttkmbb.com/api/v1/data/egypt-public-holidays","russia_public_holidays_data":"https://tttkmbb.com/api/v1/data/russia-public-holidays","colombia_public_holidays_data":"https://tttkmbb.com/api/v1/data/colombia-public-holidays","chile_public_holidays_data":"https://tttkmbb.com/api/v1/data/chile-public-holidays","greece_public_holidays_data":"https://tttkmbb.com/api/v1/data/greece-public-holidays","kazakhstan_public_holidays_data":"https://tttkmbb.com/api/v1/data/kazakhstan-public-holidays","peru_public_holidays_data":"https://tttkmbb.com/api/v1/data/peru-public-holidays","slovakia_public_holidays_data":"https://tttkmbb.com/api/v1/data/slovakia-public-holidays","hungary_public_holidays_data":"https://tttkmbb.com/api/v1/data/hungary-public-holidays","czech_public_holidays_data":"https://tttkmbb.com/api/v1/data/czech-public-holidays","croatia_public_holidays_data":"https://tttkmbb.com/api/v1/data/croatia-public-holidays","slovenia_public_holidays_data":"https://tttkmbb.com/api/v1/data/slovenia-public-holidays","estonia_public_holidays_data":"https://tttkmbb.com/api/v1/data/estonia-public-holidays","luxembourg_public_holidays_data":"https://tttkmbb.com/api/v1/data/luxembourg-public-holidays","malta_public_holidays_data":"https://tttkmbb.com/api/v1/data/malta-public-holidays","lithuania_public_holidays_data":"https://tttkmbb.com/api/v1/data/lithuania-public-holidays","latvia_public_holidays_data":"https://tttkmbb.com/api/v1/data/latvia-public-holidays","bulgaria_public_holidays_data":"https://tttkmbb.com/api/v1/data/bulgaria-public-holidays","romania_public_holidays_data":"https://tttkmbb.com/api/v1/data/romania-public-holidays","brazil_federal_holidays_data":"https://tttkmbb.com/api/v1/data/brazil-federal-holidays","mexico_labor_rest_days_data":"https://tttkmbb.com/api/v1/data/mexico-labor-rest-days","philippines_public_holidays_data":"https://tttkmbb.com/api/v1/data/philippines-public-holidays","indonesia_public_holidays_data":"https://tttkmbb.com/api/v1/data/indonesia-public-holidays","south_korea_public_holidays_data":"https://tttkmbb.com/api/v1/data/south-korea-public-holidays","italy_public_holidays_data":"https://tttkmbb.com/api/v1/data/italy-public-holidays","spain_public_holidays_data":"https://tttkmbb.com/api/v1/data/spain-national-holidays","germany_public_holidays_data":"https://tttkmbb.com/api/v1/data/germany-national-holidays","netherlands_public_holidays_data":"https://tttkmbb.com/api/v1/data/netherlands-public-holidays","belgium_public_holidays_data":"https://tttkmbb.com/api/v1/data/belgium-public-holidays","austria_public_holidays_data":"https://tttkmbb.com/api/v1/data/austria-public-holidays","poland_public_holidays_data":"https://tttkmbb.com/api/v1/data/poland-public-holidays","portugal_public_holidays_data":"https://tttkmbb.com/api/v1/data/portugal-public-holidays","denmark_public_holidays_data":"https://tttkmbb.com/api/v1/data/denmark-public-holidays","sweden_public_holidays_data":"https://tttkmbb.com/api/v1/data/sweden-public-holidays","norway_public_holidays_data":"https://tttkmbb.com/api/v1/data/norway-public-holidays","finland_public_holidays_data":"https://tttkmbb.com/api/v1/data/finland-public-holidays","switzerland_public_holidays_data":"https://tttkmbb.com/api/v1/data/switzerland-public-holidays","taiwan_government_work_calendar_data":"https://tttkmbb.com/api/v1/data/taiwan-government-work-calendar","hong_kong_general_holidays_data":"https://tttkmbb.com/api/v1/data/hong-kong-general-holidays","turkey_public_holidays_data":"https://tttkmbb.com/api/v1/data/turkey-public-holidays","saudi_financial_holidays_data":"https://tttkmbb.com/api/v1/data/saudi-financial-holidays","thailand_financial_holidays_data":"https://tttkmbb.com/api/v1/data/thailand-financial-holidays","working_day_catalog":"https://tttkmbb.com/api/v1/data/working-day-calendars","html":"https://tttkmbb.com/everyday/malaysia-working-days-between","markdown":"https://tttkmbb.com/everyday/malaysia-working-days-between.md","api":"https://tttkmbb.com/api/v1/calculate/malaysia-working-days-between"}}