Could someone assist me in creating a live database timer.
It will have a start time in database, I am using PHP and am hoping to use js or ajax whatever works best for what I am trying to complete.
I've written some pseudo-like code to illustrate how I plan to do this:
BEGIN
Request server time
// adjust server time with client time
get serverTime
get clientTime
adjustment = serverTime - clientTime
timeData = timeData - adjustment
THEN
send timeData to server
END
create event. It's like Timex. It just keeps running and running and ... Here is an example stub