Home › Everyday Life › Count Portugal Working Days

Count Portugal Working Days

Counts authority-scope working and non-working dates in a range.

When to use

You need an auditable Portugal working-day count.

Do not use when: Mandatory nationwide list only. Municipal, autonomous-region, collective-agreement, employer and locally substituted holiday schedules are not inferred.

Example user requests

Formula

for each included date: working_days += status.is_working_day

Normalize endpoints and count exact authority events over the declared weekday baseline.

Inputs

ParameterTypeUnitRequiredDescription
start_datedateyesFirst date in 2026-2027.
end_datedateyesLast date in 2026-2027.
include_start_datebooleandefault trueWhether start_date participates.
include_end_datebooleandefault trueWhether end_date participates.

Outputs

OutputTypeUnitDescription
working_daysintegerAuthority-scope working dates.
non_working_daysintegerWeekend and exact authority events.
public_holidays_countedlistExact events in the range.
territorystringPT (Portugal).
territory_namestringPortugal
day_typestringDeterministic classification: official_weekend, regular_workday, or the first published authority event kind.
holiday_namesstring_listEvents applying on the date.
holiday_kindsstring_listAuthority event classifications.
holiday_detailslistStructured event details, including partial-day notes where published.
calendar_scopestringPortugal nationwide mandatory public holidays for 2026-2027
holiday_policystringPortugal Labour Code mandatory national holidays are included; Carnival Tuesday and municipal holidays are optional and are not inferred.
substitute_day_policystringNo substitute-day closure is inferred. Good Friday may be observed on another locally significant Easter-period day under the Labour Code, but no local replacement is selected.
calendar_profilestringportugal-public-holidays
dataset_versionstringpt-statutory-public-holidays-2026-2027.1
sourceslistAuthority and legislation sources.

Example

Coverage starts with a published event: {"start_date":"2026-01-01","end_date":"2026-01-01","include_start_date":true,"include_end_date":true} → {"working_days":0,"non_working_days":1}

GET https://tttkmbb.com/api/v1/calculate/portugal-public-working-days-between?start_date=2026-01-01&end_date=2026-01-01&include_start_date=true&include_end_date=true

Machine access

Sources

FAQ

Does this include Carnival Tuesday or Lisbon municipal day?

No. Portuguese law treats Carnival Tuesday and the municipal holiday as optional through collective regulation or contract; this package includes only the mandatory nationwide list.

Related calculators