The best way to synchronize client-side javascript clock with server date

You can calculate exact time with NTP (Network Time Protocol) in your codes, i try to explain for you: We have ClientTime on Sending Request (for example 4/3/2012 13:56:10.123) You send ClientTime to Server We have Round-trip time for request, i called it RequestTime (for example: It takes 5 seconds) In Server, We calculate Difference … Read more