title: How to get date and time from server and use it as if it was the client's?
body: <p><em>It is not a duplicated question. If you doubt, read it to the end.</em></p>
  
  <p>Problem: I am creating a web page that is shown in a SmartTV browser and I can't rely or trust this device's clock. The time is always wrong and there is no date registry.</p>
  
  <p>Solution: I use ajax to get my location's current date and time from a time server API. It sends back year, month, week day, month day, hour and minutes. <em>I don't care about the exactly seconds.</em></p>
  
  <p>How to: What I don't know how to do is to get this information and turn it to a working clock that refreshes in the browser when time and day goes up. I fetch the time server every hour to ensure it still in sync, but between this hour, how can I make the JavaScript counts the minutes, hours, days, months and years correctly?</p>