title: Why does setTime add an hour?
body: <p>This code results in an output of 1. Why is this when the argument to <code>setTime</code> is the number of milliseconds added to midnight Jan 1 1970? Surely it should be 0?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var d = new Date();
  
  d.setTime(0);
  
  console.log(d.getHours());</code></pre>
  </div>
  </div>
  </p>