I need some basic ASP scripting done to improve the logic of an online deadline calculator. Please visit the page: <[login to view URL]> to see the example live.
My calculator works pretty well except I've found an exception whereby the calculation suggests a wrong date once its given a particular set of data. I need you to dig through the code and write new code to prevent the error from happening.
**The error is as follows: ** There appears to be a discrepancy in calculating 20 days from Oct. 22, 2007. Here's what it gives: 20 calendar days after Monday, October 22, 2007 is Sunday, November 11, 2007. However, this date falls on a weekend and Veteran's Day, so the next business day is Monday, November 12, 2007. I think the correct answer -- given the legal holiday on Monday -- is Tuesday, November 13, 2007.