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)
 
Your post does not mention it but do you want to discount holidays too?

Steve
(e-mail address removed)

that one is on Arvin's web page, www.datastrat.com , in the sample
code section. ... dig around a little and you'll find it.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Calculation In Query 1
autofill in query 2
Change Order of code 3
DateDiff exclude weekends and holidays 6
Calculate Difference 1
On Current 5
Trouble with query 9
Filtering on results 5

Back
Top