# Working Day Calculation Plugin
A Bubble plugin for calculating business days, excluding weekends and custom off days.
## Features
- **Add Business Days**: Calculate the end date by adding a specified number of business days to a start date - **Calculate Days Between**: Count the number of business days between two dates - **Weekend Exclusion**: Automatically skips Saturdays and Sundays - **Custom Off Days**: Provide your own list of non-working days (holidays, company closures, etc.) - **Timezone Safe**: Handles timezone differences correctly for accurate date calculations
## How It Works
The plugin excludes: 1. **Weekends**: Saturdays and Sundays are automatically skipped 2. **Custom Off Days**: You provide a list of specific dates to exclude (e.g., public holidays, vacation days)
**Note**: You define which days are OFF days (non-working days), not business days. Create a database in Bubble with your off days, then pass that list to the plugin actions.
## Setup
1. Create a data type in Bubble (e.g., "off_days") with a date field 2. Add all your non-working days to this database (holidays, company closures, etc.) 3. Pass this list to the plugin actions using the `date_list` parameter
## Actions
### 1. Add Days Adds N business days to a start date, skipping weekends and off days. - **Inputs**: - `start_date`: Starting date - `number_of_days`: Number of business days to add - `date_list` (optional): List of dates to exclude - **Output**: `end_date`
### 2. Days Between Calculates the number of business days between two dates, excluding weekends and off days. - **Inputs**: - `start_date`: Start date - `end_date`: End date - `date_list` (optional): List of dates to exclude - **Output**: `days_between` (number of business days)
## Use Cases
- Project deadline calculations - Employee leave tracking - Delivery date estimation - SLA compliance monitoring - Work schedule planning
Free
For everyone
5.0 stars • 1 ratings
14 installs
This plugin does not collect or track your personal data.
# Working Day Calculation Plugin
A Bubble plugin for calculating business days, excluding weekends and custom off days.
## Features
- **Add Business Days**: Calculate the end date by adding a specified number of business days to a start date - **Calculate Days Between**: Count the number of business days between two dates - **Weekend Exclusion**: Automatically skips Saturdays and Sundays - **Custom Off Days**: Provide your own list of non-working days (holidays, company closures, etc.) - **Timezone Safe**: Handles timezone differences correctly for accurate date calculations
## How It Works
The plugin excludes: 1. **Weekends**: Saturdays and Sundays are automatically skipped 2. **Custom Off Days**: You provide a list of specific dates to exclude (e.g., public holidays, vacation days)
**Note**: You define which days are OFF days (non-working days), not business days. Create a database in Bubble with your off days, then pass that list to the plugin actions.
## Setup
1. Create a data type in Bubble (e.g., "off_days") with a date field 2. Add all your non-working days to this database (holidays, company closures, etc.) 3. Pass this list to the plugin actions using the `date_list` parameter
## Actions
### 1. Add Days Adds N business days to a start date, skipping weekends and off days. - **Inputs**: - `start_date`: Starting date - `number_of_days`: Number of business days to add - `date_list` (optional): List of dates to exclude - **Output**: `end_date`
### 2. Days Between Calculates the number of business days between two dates, excluding weekends and off days. - **Inputs**: - `start_date`: Start date - `end_date`: End date - `date_list` (optional): List of dates to exclude - **Output**: `days_between` (number of business days)
## Use Cases
- Project deadline calculations - Employee leave tracking - Delivery date estimation - SLA compliance monitoring - Work schedule planning
Types
This plugin can be found under the following types: