Generate Working Days

Generates an array of working days based on start date and preferences.

In Power Automate, search for Date - Generate Working Days

Inputs

FieldTypeDescription
Start DaterequiredstringThe starting date for generating working days.
Number of Working DaysrequiredintegerThe number of working days to generate.
Default: 5
Work on Monday?booleanShould Monday be considered a working day?
Options: truefalse
Default: true
Work on Tuesday?booleanShould Tuesday be considered a working day?
Options: truefalse
Default: true
Work on Wednesday?booleanShould Wednesday be considered a working day?
Options: truefalse
Default: true
Work on Thursday?booleanShould Thursday be considered a working day?
Options: truefalse
Default: true
Work on Friday?booleanShould Friday be considered a working day?
Options: truefalse
Default: true
Work on Saturday?booleanShould Saturday be considered a working day?
Options: truefalse
Default: false
Work on Sunday?booleanShould Sunday be considered a working day?
Options: truefalse
Default: false
Exclude Specific DatesarrayArray of dates to exclude from the working days.

Outputs

Returns an array; each item has these properties.

FieldTypeDescription
Working DaystringThe generated working day (YYYY-MM-DD).
YearintegerThe year of the working day.
MonthintegerThe month of the working day.
DayintegerThe day of the month for the working day.
Day of WeekstringThe name of the weekday.
ISO WeekintegerThe ISO 8601 week number.
Elapsed Calendar DaysintegerTotal calendar days from the start date to each working day.
Non-Working Days SkippedintegerThe number of non-working days skipped.
Holidays SkippedarrayList of excluded holidays skipped.

More Dates actions

Try Generate Working Days in your own flow

The Starter plan includes 250 calls every 30 days.

Get your API key