Hi,
At our company we have to fix various problems with a pre-defined time frame based on the priority of the call or pay a substantial fine. For example we need to fix all Priority 1 calls within 6 hours. I have been asked to write a program which creates a webpage for our Intranet allowing us to see which calls are failing, I created some code to figure out the failing calls which worked fine.
'Code for calculating whether a priority 3 call is failing, where txtLv3.Text is 30.
strToday = Now - (txtLv3.Text / 24)
strDate = DateDiff("s", "01/01/1970 00:00:00", strToday)
Unfortunatly I now have to modify the code to only use working hours (8 - 6) otherwise it is showing us as failing when in fact we are within our our Service Level requirements. Does anyone know an easy way around this? As I am kinda stumped.
Tom. Webmaster of The EPICentre and owner of Minatures Online. (10% off all VOID goods!)
At our company we have to fix various problems with a pre-defined time frame based on the priority of the call or pay a substantial fine. For example we need to fix all Priority 1 calls within 6 hours. I have been asked to write a program which creates a webpage for our Intranet allowing us to see which calls are failing, I created some code to figure out the failing calls which worked fine.
'Code for calculating whether a priority 3 call is failing, where txtLv3.Text is 30.
strToday = Now - (txtLv3.Text / 24)
strDate = DateDiff("s", "01/01/1970 00:00:00", strToday)
Unfortunatly I now have to modify the code to only use working hours (8 - 6) otherwise it is showing us as failing when in fact we are within our our Service Level requirements. Does anyone know an easy way around this? As I am kinda stumped.
Tom. Webmaster of The EPICentre and owner of Minatures Online. (10% off all VOID goods!)