D
dcronje
Hi,
I have fairly complicated problem which I will try and explain and any
help will be appreciated.
I am trying to determine two things: firstly number of hours to resolve
an event and then number of periods.
I receive a table that tracks events/failures. I get the date and time
that an event is reported and I get the date and time it was resolved.
I need to calculate the number of working hours it has taken to resolve
with working hours being 7:30 to 18:30 everyday except weekends and
holidays. So for example on 3 Feb at 10:30 a problem was reported and
by 5 Feb at 15:30 the problem was resolved. I need to know that the
problem was resolved in 27 hours. (If the problem occurred on Friday at
15:30 and resolved on Monday 9:30 it would be 5 hours)
A B C
Reported Resolved Time Taken
3/2/04 10:30 5/2/04 15:30 ??????????
How can I do this?
Secondly I need to calculate similar thing using the above example I
need to calculate number of periods, basically periods are broken down
into 07:30 to 12:30 is one period and 12:30 to 18:30 is another so from
the information above it would be 6 periods.
Can anyone help? hopefully i have explained enough if not I can answer
any questions
Thanks
I have fairly complicated problem which I will try and explain and any
help will be appreciated.
I am trying to determine two things: firstly number of hours to resolve
an event and then number of periods.
I receive a table that tracks events/failures. I get the date and time
that an event is reported and I get the date and time it was resolved.
I need to calculate the number of working hours it has taken to resolve
with working hours being 7:30 to 18:30 everyday except weekends and
holidays. So for example on 3 Feb at 10:30 a problem was reported and
by 5 Feb at 15:30 the problem was resolved. I need to know that the
problem was resolved in 27 hours. (If the problem occurred on Friday at
15:30 and resolved on Monday 9:30 it would be 5 hours)
A B C
Reported Resolved Time Taken
3/2/04 10:30 5/2/04 15:30 ??????????
How can I do this?
Secondly I need to calculate similar thing using the above example I
need to calculate number of periods, basically periods are broken down
into 07:30 to 12:30 is one period and 12:30 to 18:30 is another so from
the information above it would be 6 periods.
Can anyone help? hopefully i have explained enough if not I can answer
any questions
Thanks