PC Review


Reply
Thread Tools Rate Thread

Calculating Working Weekdays

 
 
=?Utf-8?B?TmljayBQZWRkZXI=?=
Guest
Posts: n/a
 
      3rd Dec 2003
Can anyone help me with this please ?

In the context of a recruitment database and the data being job vacancies, I have 2 sets of information - Date Recieved and Origination Date. I am trying to calculate the difference between them in working days.

To do this I am using a query and the expression Expr2: Weekday([DateRecieved])-Weekday([OriginationDate]).
I am using the criteria Between 2 And 6

Unfortunately, the results it brings up make no sense. Some are correct, whilst others are way out.

For example;

Date Recieved Origination Date No of Working days (Expr1)
11/11/03 28/9/03 2
21/11/03 18/11/03 3 (this is correct)
24/10/03 15/10/03 2

I would be very grateful to any one who could point me in the right direction. Thanks


 
Reply With Quote
 
 
 
 
jmonty
Guest
Posts: n/a
 
      3rd Dec 2003
Start with the Access MVPs:

http://www.mvps.org/access/datetime/date0006.htm

hope this helps.

>-----Original Message-----
>Can anyone help me with this please ?
>
>In the context of a recruitment database and the data

being job vacancies, I have 2 sets of information - Date
Recieved and Origination Date. I am trying to calculate
the difference between them in working days.
>
>To do this I am using a query and the expression Expr2:

Weekday([DateRecieved])-Weekday([OriginationDate]).
>I am using the criteria Between 2 And 6
>
>Unfortunately, the results it brings up make no sense.

Some are correct, whilst others are way out.
>
>For example;
>
>Date Recieved Origination Date No of Working

days (Expr1)
>11/11/03 28/9/03 2
>21/11/03 18/11/03 3 (this is

correct)
>24/10/03 15/10/03 2
>
>I would be very grateful to any one who could point me in

the right direction. Thanks
>
>
>.
>

 
Reply With Quote
 
=?Utf-8?B?TmljayBQZWRkZXI=?=
Guest
Posts: n/a
 
      3rd Dec 2003
Much appreciated - not something I would have worked out myself !
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculating only weekdays Sinkguy1 Microsoft Excel Worksheet Functions 6 25th Mar 2009 11:28 PM
Calculating weekdays Marc Microsoft Access Queries 2 30th Jan 2004 02:03 PM
Calculating weekdays Microsoft Excel Worksheet Functions 2 14th Nov 2003 08:36 AM
Calculating weekdays Mark Microsoft Excel Worksheet Functions 2 13th Nov 2003 05:26 PM
Calculating only certain weekdays Chris Boone Microsoft Excel Discussion 5 1st Oct 2003 03:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:57 AM.