Hi,
I have a query that produces a field worked out on DateDiff by hours and shows me how many hours difference there is between a DATE RECEIVED and a DATE MODIFIED fields. The only trouble is is that I want to make this function use working hours in how many hours have elapsed.
An example is if DATE RECEIVED was 01/01/2003 09:00:00 and DATE MODIFIED was 01/01/2003 17:31:00 then I want it to show 7 hours and not 8? And likewise if DATE RECEIVED was 01/01/2003 15:00:00 and DATE MODIFIED was 02/01/2003 10:00:00 I want it to show 4 hours as the working hours are only 09:00 until 18:00 and not 24 hours.
I would apprecaite any guidance you could give.
Many thanks
Dave.
I have a query that produces a field worked out on DateDiff by hours and shows me how many hours difference there is between a DATE RECEIVED and a DATE MODIFIED fields. The only trouble is is that I want to make this function use working hours in how many hours have elapsed.
An example is if DATE RECEIVED was 01/01/2003 09:00:00 and DATE MODIFIED was 01/01/2003 17:31:00 then I want it to show 7 hours and not 8? And likewise if DATE RECEIVED was 01/01/2003 15:00:00 and DATE MODIFIED was 02/01/2003 10:00:00 I want it to show 4 hours as the working hours are only 09:00 until 18:00 and not 24 hours.
I would apprecaite any guidance you could give.
Many thanks
Dave.