I have this assignment where we need to capture performance day count from the difference of 2 date columns in the report. However, the count need to exclude the weekend( sat/sun) to reflect true contractor performance. For example we have contractor PROCESSING COMPLETE DATE and then there is RECEIVE DATE. We are on DB2. Let me know of any suggestion in terms of function/formula or any insight to handle this requirement. The max difference count on the current report could be as high as 400 days.
Happy spring to all of you folks. Cheers!
Nick
In first step find first Sat after FROM DATE. Then find Last Sat from TO DATE. Then you have four dates, now you can calculate days as per your requirement.