I’ve released a new jQuery plugin to get the server time.
It waits for the page to be loaded, and send the client machines time to the server by ajax. The server then returns $timedifference.”|”.$offset where offset is the difference in seconds between the server and the local machine.
The script will then check the local machine time every second and apply the offset.
This approach allows us to use the local machine’s time keep capability to keep ourselves accurate.
If there are time zone differences to be taken into account these will also be accounted for.