I have to calculate system down time for a helpdesk application that I am designing. The down time will be the number of business hours between when the system went down and when service was restored.
I have the following information to start with:
DateSysDn
TimeSysDn
DateSysUp
TimeSysUp
Business hours are: M-F 07:00 - 19:00 Sat 07:30 - 17:00
I know I will have to create a function to do this, but I am a little lost at the moment.
I have the following information to start with:
DateSysDn
TimeSysDn
DateSysUp
TimeSysUp
Business hours are: M-F 07:00 - 19:00 Sat 07:30 - 17:00
I know I will have to create a function to do this, but I am a little lost at the moment.