Ok thanks for that ill give proper answer tomorrow but you will proably need an assignment using PHP data time functions...
The followings dums two PHP times together
You use this to add the current line time to the prev with the old function
So your assignment could look like
This may work but ill give it a try tomorrow. may need another assignment to set time to to 00:00:00 on first row