Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Days Calculations

Status
Not open for further replies.

dbinfoweb

Technical User
Nov 20, 2001
59
US
Hi, I want to calcualte the penalty on itmes clients checked out and became overdue. Here is the penalty I would like to calculate.
If an item have been over due for 15 days the first 10 business days would be free. Any calendar days after that (in this case, 5 days, including weekends) would be penalized based on how many days that would be (in this case, 5 days). I was able to do the calendar and business days without problem. My problem is I do not know how to calculate the first 10 business days (excluded weekends) and then calculate the penalty with the calendar days after taht. For example, the due date is 11/1 and is 15 days past due. The client is only penalized for 3 days.
Thanks in advance for any help I can get.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top