count working days between 2 dates

bugsy

Registered User.
Local time
Today, 07:56
Joined
Oct 1, 2007
Messages
99
I've had it before, but can't find it.

basically something like this --
Code:
DateDiff("w", StartingDate, EndingDate)

that also makes sure date is not in tblHolidays.
anyone knows how to acomplish this ?
 
i found it; here it is
Code:
# of Days Stale: DateDiff('d',[date],Date())-(DateDiff('ww',[Date],Date())*2)-(Select Count(*) from [tblHolidays] where [HolidayDate] between [date] and date())
 

Users who are viewing this thread

Back
Top Bottom