I would use php's date() function to send it to javascript.
Javascript would use a setTimout() function every 1000 milliseconds to increase seconds by one and then update the innerHTML of a <span> or <div> that holds the current time.
The easiest way to update live is through the document.getElementById(string).innerHTML variable.
I hope this is of any help!