I am able to get the time difference between two times of the day. But I need part them. If somebody has crossed 8 hours time, the extra time he remains on the site will be added otherwise.
I calculated the time difference using my function:
dateDiff($intime,$outtime);
and got the output as 9 hours, 38 minutes, 30 seconds.
How do I find the duration exceeding 8 hours, 0 minutes, 0 seconds?