Exclude Weekend from DateDiff function (1 Viewer)

falcondeer

Registered User.
Local time
Today, 03:33
Joined
May 12, 2013
Messages
101
Hi all,

I need help please,

I have a physiotherapy clinic where the clerk enters the referral date and the phsyio appointment date to calcualte how many days the patient is waiting as a performance indicator.

I created a query that calculates the days between all dates in the DB and it is doing it fine, the problem is that I want to exclude all saturdays and Sundays from the calculations.

Second, is it possible just to do it in the SQL View of the query.

I appreciate the help.
 

bob fitz

AWF VIP
Local time
Today, 11:33
Joined
May 23, 2011
Messages
4,726
Take a look at the attached db. Look at "Business Dates"
 

Attachments

  • UsefulDateFunctions.zip
    190.4 KB · Views: 146

Users who are viewing this thread

Top Bottom