Calculate Working Day

The Calculate Working Day API is a tool for developers to easily compute a valid working day, accommodating a range of requirements from basic to complex scenarios.
This connector is available in the following products and regions:
Service | Class | Regions |
---|---|---|
Copilot Studio | Premium | All Power Automate regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Logic Apps | Standard | All Logic Apps regions except the following: - Azure Government regions - Azure China regions - US Department of Defense (DoD) |
Power Apps | Premium | All Power Apps regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Power Automate | Premium | All Power Automate regions except the following: - US Government (GCC) - US Government (GCC High) - China Cloud operated by 21Vianet - US Department of Defense (DoD) |
Contact | |
---|---|
Name | Mightora.io |
URL | https://mightora.io/calculate-working-day/ |
[email protected] |
Connector Metadata | |
---|---|
Publisher | Tweed Technology Ltd |
Website | https://mightora.io |
Privacy policy | https://mightora.io/privacy/ |
Categories | Marketing;Data |
Calculate working day
The Calculate Working Day API is a powerful tool designed to help developers effortlessly compute valid working days, catering to a wide range of requirements from simple to highly complex scenarios. It seamlessly integrates with user-defined working days and bank holidays, offering a variety of functions to suit diverse needs. With advanced configuration options, developers can customize the computation to align with specific working day patterns. By providing a tailored list of working days—identified by their corresponding day-of-week codes—the API ensures precise determination of the next working day based on the user-defined schedule.
Publisher: Mightora.io
At Mightora.io, founded by Ian Tweedie — also known as Tech Tweedie — we are dedicated to helping low-code developers supercharge their Power Platform development experience. By offering exceptional Power Automate connectors and APIs, our mission is to provide easy-to-use tools that reduce development costs and empower developers to embrace citizen development. With our innovative solutions, you can expect a seamless and efficient development process that drives your success forward. More information can be found on our website.
Prerequisites
To use this connector you will need the following to proceed:
- A Microsoft Power Apps or Power Automate plan
- No API key is required, our connectors are free to use as a community contribution from Ian Tweedie, also known as Tech Tweedie, check out the Tech Tweedie Blog for a video demo of the tool on https://techtweedie.github.io/posts/calculate-working-day/ or go to website
Supported Operations
Combined
Performs a combination of all of the endpoints in one response.
Basic Next Working Day
Finds the next working day based on a working week of Monday to Friday.
Date Difference Calculator
This action uses multiple variables to determine what your working days are between two dates.
Next Working Day
This action uses multiple variables to determine what your working days are in order to return the correct Next Working Day after the date you provide.
First and Last Working Day of Month
This action uses multiple variables to determine what your First and Last working days of a given month are.
Is Today A Working Day
This action uses multiple variables to determine if today/date supplied is a working day for you.
Date In X Working Days
This action uses multiple variables to determine what the working day will be in X working days’ time.
Obtaining Credentials
Our connectors are free to use, no API key is required. For support please head on over to our website here.
Getting Started
You can use this connector in the following cases:
- Make your connection, no api key is required.
- Add the step in to your Power Automate Flow.
- Enter in your api key and select your endpoint.
- Pass in the value of your domain, you can also pass in a full email address however we only need the domain.
Known Issues and Limitations
- Currently there are no known issues
- Currently we limit to 1 call per second, if you need greater capacity please reach out to us directly.
Using the connector
To use our connector;
- Add it in to your Power Automate Flow.
- Create your connection, no api key is required.
- Choose your action
- Pass in the optional and required parameters depending on the action.
Parameters that can be used
- date - The date in question you wish to centre your request around. This is the input date in YYYY-MM-DD format. e.g. 2022-12-23.
- working_days - This parameter expects a comma-separated list of working days, where Monday is 1, Tuesday is 2, and so on. In the default, we're using all weekdays from Monday to Friday, so the value is '1,2,3,4,5'.
- x_working_days - Find working day in X days e.g. 4
- start_date - The start date in YYYY-MM-DD format. e.g. 2022-12-23.
- end_date - The end date in YYYY-MM-DD format. e.g. 2022-12-30.
- country - Currently, only the United Kingdom is supported. Values can be england-and-wales, scotland, northern-ireland, none. Used to filter out bank holidays.
- non_working_days - A custom list of non working days, this could be a list of days where service is not available. In a string as a list, format YYYY-MM-DD,YYYY-MM-DD e.g. 2022-12-28,2022-12-29,2022-12-30.
Deployment Instructions
You can use this connector in the following cases:
- Make your connection, if you are asked for an api-key use
free
as the key value. - Add the step in to your Power Automate Flow
- Enter in your api key and select your endpoint
- Pass in the value of your domain, you can also pass in a full email address however we only need the domain
Throttling Limits
Name | Calls | Renewal Period |
---|---|---|
API calls per connection | 100 | 60 seconds |
Actions
Basic Next Working Day |
Finds the next working day based on a working week of Monday to Friday. |
Combination of all Calculate Working Day Endpoints |
Performs a combination of all of the endpoints in one response. For more information please see https://mightora.io/calculate-working-day |
Date Difference Calculator |
This action uses multiple variables to determine what your working days are between two dates. |
Date In X Working Days |
This action uses multiple variables to determine what the working day will be in X working days' time. |
First And Last Working Day Of Month |
This action uses multiple variables to determine what your First and Last working days of a given month are. |
Is Today A Working Day |
This action uses multiple variables to determine if today is a working day for you. |
Next Working Day |
This action uses multiple variables to determine what your working days are in order to return the correct Next Working Day after the date you provide. |
Basic Next Working Day
Finds the next working day based on a working week of Monday to Friday.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Date
|
date | True | string |
This is the input date in YYYY-MM-DD format. e.g. 2022-12-23 |
Returns
Name | Path | Type | Description |
---|---|---|---|
Input Date
|
input_date | string |
input_date |
Next working day
|
next_working_day | string |
next_working_day |
More info
|
more_info | string |
more_info |
Message from developer
|
message_from_developer | string |
message_from_developer |
Combination of all Calculate Working Day Endpoints
Performs a combination of all of the endpoints in one response. For more information please see https://mightora.io/calculate-working-day
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Date
|
date | True | string |
This is the input date in YYYY-MM-DD format. e.g. 2022-12-23 |
Working Days
|
working_days | True | integer |
This parameter expects a comma-separated list of working days, where Monday is 1, Tuesday is 2, and so on. In the default, we're using all weekdays from Monday to Friday, so the value is "1,2,3,4,5". |
Non working days
|
non_working_days | string |
A custom list of non working days, this could be a list of days where service is not available. In a string as a list, format YYYY-MM-DD,YYYY-MM-DD e.g. 2022-12-28,2022-12-29,2022-12-30 |
|
In X working days
|
x_working_days | True | integer |
Find working day in X days e.g. 4 |
Filter bank holidays for Country
|
country | string |
Currently only the United Kindom is supported |
Returns
Name | Path | Type | Description |
---|---|---|---|
Input Date
|
input_date | string |
input_date |
Is input date a working day
|
is_input_date_a_working_day | boolean |
is_input_date_a_working_day |
Working Days
|
working_days | array of string |
working_days |
Working Days in Words
|
working_days_in_words | array of string |
working_days_in_words |
Working Days in Words
|
non_working_days | array of string |
non_working_days |
Next working day
|
next_working_day | string |
next_working_day |
Next working day
|
x_days | integer |
x_days |
Working day in x days
|
working_day_in_x_days | string |
working_day_in_x_days |
First Working day of month
|
first_working_day_of_month | string |
first_working_day_of_month |
Last working day of month
|
last_working_day_of_month | string |
last_working_day_of_month |
More info
|
more_info | string |
more_info |
Message from developer
|
message_from_developer | string |
message_from_developer |
Date Difference Calculator
This action uses multiple variables to determine what your working days are between two dates.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Non working days
|
non_working_days | string |
A custom list of non working days, this could be a list of days where service is not available. In a string as a list, format YYYY-MM-DD,YYYY-MM-DD e.g. 2022-12-28,2022-12-29,2022-12-30 |
|
Working Days
|
working_days | True | integer |
This parameter expects a comma-separated list of working days, where Monday is 1, Tuesday is 2, and so on. In the default, we're using all weekdays from Monday to Friday, so the value is "1,2,3,4,5". |
Date
|
start_date | True | string |
This is the input date in YYYY-MM-DD format. e.g. 2022-12-23 |
Date
|
end_date | True | string |
This is the input date in YYYY-MM-DD format. e.g. 2022-12-23 |
Returns
Name | Path | Type | Description |
---|---|---|---|
Start Date
|
start_date | string |
start_date |
End Date
|
end_date | string |
end_date |
Total Days
|
total_days | integer |
total_days |
Working Days Count
|
working_days_count | integer |
working_days_count |
Working Days
|
working_days | array of string |
working_days |
Working Days in Words
|
working_days_in_words | array of string |
working_days_in_words |
Working Days in Words
|
non_working_days | array of string |
non_working_days |
More info
|
more_info | string |
more_info |
Message from developer
|
message_from_developer | string |
message_from_developer |
Date In X Working Days
This action uses multiple variables to determine what the working day will be in X working days' time.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Date
|
date | True | string |
This is the input date in YYYY-MM-DD format. e.g. 2022-12-23 |
Working Days
|
working_days | True | integer |
This parameter expects a comma-separated list of working days, where Monday is 1, Tuesday is 2, and so on. In the default, we're using all weekdays from Monday to Friday, so the value is "1,2,3,4,5". |
In X working days
|
x_working_days | True | integer |
Find working day in X days e.g. 4 |
Returns
Name | Path | Type | Description |
---|---|---|---|
Input Date
|
input_date | string |
input_date |
Working Days
|
working_days | array of string |
working_days |
Working Days in Words
|
working_days_in_words | array of string |
working_days_in_words |
Working Days in Words
|
non_working_days | array of string |
non_working_days |
Next working day
|
x_days | integer |
x_days |
Working day in x days
|
working_day_in_x_days | string |
working_day_in_x_days |
More info
|
more_info | string |
more_info |
Message from developer
|
message_from_developer | string |
message_from_developer |
First And Last Working Day Of Month
This action uses multiple variables to determine what your First and Last working days of a given month are.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Date
|
date | True | string |
This is the input date in YYYY-MM-DD format. e.g. 2022-12-23 |
Working Days
|
working_days | True | integer |
This parameter expects a comma-separated list of working days, where Monday is 1, Tuesday is 2, and so on. In the default, we're using all weekdays from Monday to Friday, so the value is "1,2,3,4,5". |
Returns
Name | Path | Type | Description |
---|---|---|---|
Input Date
|
input_date | string |
input_date |
Working Days
|
working_days | array of string |
working_days |
Working Days in Words
|
working_days_in_words | array of string |
working_days_in_words |
Working Days in Words
|
non_working_days | array of string |
non_working_days |
First Working day of month
|
first_working_day_of_month | string |
first_working_day_of_month |
Last working day of month
|
last_working_day_of_month | string |
last_working_day_of_month |
More info
|
more_info | string |
more_info |
Message from developer
|
message_from_developer | string |
message_from_developer |
Is Today A Working Day
This action uses multiple variables to determine if today is a working day for you.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Date
|
date | True | string |
This is the input date in YYYY-MM-DD format. e.g. 2022-12-23 |
Working Days
|
working_days | True | integer |
This parameter expects a comma-separated list of working days, where Monday is 1, Tuesday is 2, and so on. In the default, we're using all weekdays from Monday to Friday, so the value is "1,2,3,4,5". |
Returns
Name | Path | Type | Description |
---|---|---|---|
Input Date
|
input_date | string |
input_date |
Is input date a working day
|
is_input_date_a_working_day | boolean |
is_input_date_a_working_day |
Working Days
|
working_days | array of string |
working_days |
Working Days in Words
|
working_days_in_words | array of string |
working_days_in_words |
Working Days in Words
|
non_working_days | array of string |
non_working_days |
More info
|
more_info | string |
more_info |
Message from developer
|
message_from_developer | string |
message_from_developer |
Next Working Day
This action uses multiple variables to determine what your working days are in order to return the correct Next Working Day after the date you provide.
Parameters
Name | Key | Required | Type | Description |
---|---|---|---|---|
Date
|
date | True | string |
This is the input date in YYYY-MM-DD format. e.g. 2022-12-23 |
Working Days
|
working_days | True | integer |
This parameter expects a comma-separated list of working days, where Monday is 1, Tuesday is 2, and so on. In the default, we're using all weekdays from Monday to Friday, so the value is "1,2,3,4,5". |
Non working days
|
non_working_days | string |
A custom list of non working days, this could be a list of days where service is not available. In a string as a list, format YYYY-MM-DD,YYYY-MM-DD e.g. 2022-12-28,2022-12-29,2022-12-30 |
|
In X working days
|
x_working_days | True | integer |
Find working day in X days e.g. 4 |
Returns
Name | Path | Type | Description |
---|---|---|---|
Input Date
|
input_date | string |
input_date |
Working Days
|
working_days | array of string |
working_days |
Working Days in Words
|
working_days_in_words | array of string |
working_days_in_words |
Working Days in Words
|
non_working_days | array of string |
non_working_days |
Next working day
|
next_working_day | string |
next_working_day |
More info
|
more_info | string |
more_info |
Message from developer
|
message_from_developer | string |
message_from_developer |