i'm glad i found this forum as i have a similar problem..
what if working times don't end at 5pm?.. that is a ticket can still be worked on after 5pm.. how do you compute then the time passed? thanks in advance