title: good precision for sync time with NTP over JavaScript
body: <p>I want to synchronize the time with NTP over JavaScript.
  The client can be a normal pc or a smartphone or tablet. The connection could be WLAN or 3G, etc.</p>
  
  <p>I already found this questions and sites</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/9818411/how-to-get-ntp-time-from-through-javascript">how to get ntp time from through javascript</a></li>
  <li><a href="https://stackoverflow.com/questions/5522191/javascript-ntp-time">JavaScript NTP time</a></li>
  <li><a href="http://jehiah.cz/a/ntp-for-javascript" rel="nofollow noreferrer">http://jehiah.cz/a/ntp-for-javascript</a></li>
  <li><a href="https://stackoverflow.com/questions/8478179/synchronize-time-in-javascript-with-a-good-precision-0-5s-ntp-like">Synchronize time in javascript with a good precision (&gt;0.5s) (NTP-like)</a></li>
  </ul>
  
  <p>first and second links using the a timestamp from this server: <code>http://json-time.appspot.com/time.json</code>
  But the date object has only second precision. I want a better precision, if possible ~ 10 ms. (I know the precision depends on the connection and round trip time)<br>
  <strong>Edit:</strong> <em>10 ms is almost impossible. I want the most precision offset.</em></p>
  
  <p>The third link shows a JavaScript library, but it does not use a direct connection to a ntp server. The solution of the fourth link is most near to that what I want. But its for synchronizing two clients through a 'own' server. Is there a way to synchronize it directly to a ntp pool like <code>pool.ntp.org</code> ?</p>