I have a query where I was using datediff() to count the days between two dates and it worked fine. Now I need to count only the number of WEEKDAYS between two dates. I just have run out of ideas. Anyone know how I can do this?
be careful. weekdays <> workdays. see the faq's for how to get the number of WORKDAYS between two dates. to et the workdays just do a count on the date range where weekday <> 0 or 7 (similar to VbSunday or VbSaturday?)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.