Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculating time differences...with a twist

Status
Not open for further replies.

bosun

Technical User
Feb 14, 2002
20
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top