Hi All I\'m trying to calculate elapsed time in php. The problem is not in php, it\'s with my mathematical skills. For instance: Time In: 11:35:20 (hh:mm:ss), now say the
You can implement the solutions shown, but I'm fond of using the phptimer class (or others, this wheel has been invented a few times). The advantage is that you can usually define the timer to be active or not, thereby permitting you to leave the timer calls in your code for later reference without re-keying all the time points.