calculate_business_hours
Calculate business hours between two timestamps, accounting for specified business hours, timezone, holidays, and weekends. Ideal for precise workday duration tracking.
Instructions
Calculate business hours between two times
Input Schema
Name | Required | Description | Default |
---|---|---|---|
business_hours | No | Business hours definition (default: 9 AM - 5 PM) | |
end_time | Yes | End time | |
holidays | No | Array of holiday dates | |
include_weekends | No | Include weekends in calculation (default: false) | |
start_time | Yes | Start time | |
timezone | No | Timezone for calculation (default: system timezone) |