title: Get timestamp of current hour in Javascript
body: <p>Is it possible for me to get the UTC time of current hour in Javascript? </p>
  
  <p>I've tried the following:</p>
  
  <pre><code>var mins = new Date().getMinutes();
  var hours = new Date().getHours();
  var hourStamp = new Date().setHours(hours, 0,0,0);
  var dates = new Date(hourStamp);
  </code></pre>
  
  <p>Here <code>dates</code> gives me the Unix Timestamp of the current hour. Is there a better/faster way to do this? </p>
  
  <p>EDIT: </p>
  
  <p>For example: I want the Timestamp for the current hour. So if it's 00:16 am on 12/04/2015, I want the timestamp of <code>12/04/2015 00:00</code>. And, my method works. My question pertains to if there's a better method of doing the same.</p>