Below method can be used in order to calculate work (working / business) days in VBScript ignoring bank holidays.
|0.2||2015-05-20||Replaced the old algorithm with a smarter solution, which is also regarding the fact that the start date can be younger than an end date.|
The old version failed in calculating the difference in days between dates if the start date was younger than the end date of a period.
Furthermore this solution is expected to be slightly faster and it is more elegant.
The original algorithm can be found here, but I think it also does leave a calling method with having to decide what date to hand as start date.
Have not checked this algorithm for calculating business / work days yet, but will test it and maybe replace the above again.
Old Source Code