BrianTyler
IS-IT--Management
Has anyone come up with a slick method of counting the number of weekdays (Mon - Fri) between two dates.
It is easy to calculate the whole weeks, by subtraction and division, but dealing with the odd days is messy.
It gets even more complicated because, if the first date is a Saturday we treat it as Monday, and if the second date is a Saturday we treat it as Friday.
It is easy to calculate the whole weeks, by subtraction and division, but dealing with the odd days is messy.
It gets even more complicated because, if the first date is a Saturday we treat it as Monday, and if the second date is a Saturday we treat it as Friday.