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
| Field | Type | Description |
|---|---|---|
| Start Daterequired | string | The starting date for generating working days. |
| Number of Working Daysrequired | integer | The number of working days to generate. Default: 5 |
| Work on Monday? | boolean | Should Monday be considered a working day? Options: truefalseDefault: true |
| Work on Tuesday? | boolean | Should Tuesday be considered a working day? Options: truefalseDefault: true |
| Work on Wednesday? | boolean | Should Wednesday be considered a working day? Options: truefalseDefault: true |
| Work on Thursday? | boolean | Should Thursday be considered a working day? Options: truefalseDefault: true |
| Work on Friday? | boolean | Should Friday be considered a working day? Options: truefalseDefault: true |
| Work on Saturday? | boolean | Should Saturday be considered a working day? Options: truefalseDefault: false |
| Work on Sunday? | boolean | Should Sunday be considered a working day? Options: truefalseDefault: false |
| Exclude Specific Dates | array | Array of dates to exclude from the working days. |
Outputs
Returns an array; each item has these properties.
| Field | Type | Description |
|---|---|---|
| Working Day | string | The generated working day (YYYY-MM-DD). |
| Year | integer | The year of the working day. |
| Month | integer | The month of the working day. |
| Day | integer | The day of the month for the working day. |
| Day of Week | string | The name of the weekday. |
| ISO Week | integer | The ISO 8601 week number. |
| Elapsed Calendar Days | integer | Total calendar days from the start date to each working day. |
| Non-Working Days Skipped | integer | The number of non-working days skipped. |
| Holidays Skipped | array | List of excluded holidays skipped. |
More Dates actions
Try Generate Working Days in your own flow
The Starter plan includes 250 calls every 30 days.