title: How to get current Date from Internet via JavaScript
body: <p>I have this function:</p>
  
  <pre><code>function fun_voting_started(){
  var now = new Date();
  var now_date = now.getDate();
  var now_month = now.getMonth(); now_month++;
  var now_year = now.getFullYear();
  var now_hours = now.getHours();
  var now_min = now.getMinutes();
  var now_sec = now.getSeconds();
  var voting_started = now_year + "-" + now_month + "-" + now_date + " " + now_hours + ":" + now_min + ":" + now_sec; 
  return voting_started;
  }
  </code></pre>
  
  <p>This function loads Date from computer, but sometimes user have other Date than is current. How can I get the current Date from Internet?</p>