function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Roshni RahulRoshni Rahul 

To perform calculations on business days by excluding holidays and weekends

Hi Team,

Need Help. I have a requirement in which I have to exclude the weekend days and holidays and I have to perform calculations on business day. So during weekend and holidays, my calculation should not work and should continue from next business day. eg. suppose  I  have to complete a task between given start date and end date. But there are two days in between which is weekend days. I want to find how much work is required to be completed in each day excluding those 2 days.Anyone have any idea. 
Krishnamoorthi PeriasamyKrishnamoorthi Periasamy
look into this  ===>  https://github.com/redargyle/BusinessHoursMath.

If this is helpful answer to solve your requirement, please mark it as "solved"