rpferguson
New member
- Local time
- Today, 12:48
- Joined
- Feb 27, 2007
- Messages
- 5
I am trying to calculate the number of weekdays between two dates in an access query.
I'm using Expr 1: DateDiff("w", #4/01/2006#, #02/26/2007#)
When I use this expression with "d" instead of "w" I get 331 days, but when I use "w" I get 47 days. I know this can't be right.... Is there something I'm missing here?
I looked up on msdn and "w" is for weekday. Is there something that I need to do to be more specific?
Any help is appreciated.
Thanks
I'm using Expr 1: DateDiff("w", #4/01/2006#, #02/26/2007#)
When I use this expression with "d" instead of "w" I get 331 days, but when I use "w" I get 47 days. I know this can't be right.... Is there something I'm missing here?
I looked up on msdn and "w" is for weekday. Is there something that I need to do to be more specific?
Any help is appreciated.
Thanks