I need to figure the next available working date using the following formula: date+2. From the result, I need to exclude weekends and holidays and move on to the next available workday. I do have a calendar table built that has fields referencing whether or not it is a weekend or holday. I just don't know how to go about moving forward if the date+2 lands on either a weekend or a holiday.
Any help would be greatly appreciated.
asked May 21 '10 at 12:08 PM in Default
without knowing the exact schema of your tables....
and in English, get the earliest date equal to or greater than date+2 where the weekend and holiday flags aren't set