Date Diff

  • Thread starter Thread starter SageOne
  • Start date Start date
S

SageOne

Is there a function that calculates the date diff between two dates but
discounts weekends?

Basically I need to calculate the business day date diff.
 
Your post does not mention it but do you want to discount holidays too?

Steve
(e-mail address removed)
 
Found that code.....that for you help guys......Yes, I would like to also
exclude holidays....is there a way to specify the holidays? Some holidays
are not observed for the purposes of my report.
 
Found that code.....that for you help guys......Yes, I would like to also
exclude holidays....is there a way to specify the holidays? Some holidays
are not observed for the purposes of my report.

And of course different companies and countries celebrate different holidays.
The typical solution is to have a Holidays table with one record for each
holiday date. Check the websites again, most published solutions have a
Holidays table and use it in the calculation.
 
Back
Top