Algorithm to generate dates for business days given the range of dates

Posted by sonicoder on Stack Overflow See other posts from Stack Overflow or by sonicoder
Published on 2010-04-18T06:16:28Z Indexed on 2010/04/18 6:43 UTC
Read the original article Hit count: 528

Filed under:
|
|
|

I'd like to be able to calculate the dates of business days (mon-fri) given two dates d1 and d2. However in some locales the business days are sat-wed or sun-thur.

Is there a facility in STL or C++ in general that allows for such a calculation?

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about c++