I want to calculate working Days Excluding Saturdays and Sundays in a given period.
I have the following queri statement to exclude saturday and sunday:
I need add the statement to exclude Holiday. Please give me the specific code or statement. Copy and paste. Thanks
I have the following queri statement to exclude saturday and sunday:
Code:
System Test Working Days LT: ( ([Testing End Date]-[Sample Received Date]) +(Weekday([Sample Received Date])-1) -(Weekday([Testing End Date])-1)) *5/7-1 +IIf((Weekday([Testing End Date])-1)-1>5, 5, (Weekday([Testing End Date])-1)) -IIf((Weekday([Sample Received Date])-1)>5, 5, (Weekday([Sample Received Date])-1)-1)
Comment