Better way of calculating date using business days

  • 22 March 2019
  • 1 reply
  • 6 views

Badge

I have a start date and an integer representing business days. I wanted to find the end date which is the start date + business days.

 

I understand that we can loop through the number of business days starting from the start date to get the end date. However, this is not very efficient way of finding the end date when we need to loop through 100's of times.

 

Reaching out to the community to find a better way of calculating date using business days without involving loops!

 

Any ideas is appreciated.

 


Reply