Hi everyone, (Crystal Reports 8.5, SQL 2000)
I'm looking for a little advice. I've got an ugly formula that calculates the number of business days between two dates and times (I'm getting the start and end dates and times from a parameter). The formula excludes weekends and also factors in how much of the business day is included in the date range (assuming the business day starts at 9am and ends at 5pm).
I need some help expanding this formula to exclude company holiday's as well.
I mentioned above that I was looking for some advice. I'm not wed to the approach I'm using now. I'd actually prefer to have an external file or database table to hold the holidays (that way I don't have to change formulas every year).
If anyone has a technique that can accomplish all of the above . . . I'm all ears.
Thanks!
I'm looking for a little advice. I've got an ugly formula that calculates the number of business days between two dates and times (I'm getting the start and end dates and times from a parameter). The formula excludes weekends and also factors in how much of the business day is included in the date range (assuming the business day starts at 9am and ends at 5pm).
I need some help expanding this formula to exclude company holiday's as well.
I mentioned above that I was looking for some advice. I'm not wed to the approach I'm using now. I'd actually prefer to have an external file or database table to hold the holidays (that way I don't have to change formulas every year).
If anyone has a technique that can accomplish all of the above . . . I'm all ears.
Thanks!