title: UTC Times in JavaScript
body: <p>I am trying to get the current UTC date to store in my database.  My local time is 9:11 p.m. This equates to 1:11 a.m. UTC. When I look in my database, I notice that 1:11 p.m. is getting written to. I'm confused. In order to get the UTC time in JavaScript, I'm using the following code:</p>
  
  <pre><code>var currentDate = new Date();
  var utcDate = Date.UTC(currentDate.getFullYear(), currentDate.getMonth(), currentDate.getDate(), currentDate.getHours(), currentDate.getMinutes(), currentDate.getSeconds(), currentDate.getMilliseconds());
  var result = new Date(utcDate);
  </code></pre>
  
  <p>What am I doing wrong?</p>