title: Why is new Date() removing a day? - Javascript
body: <p>I am creating a date with <code>new Date()</code>.  When I do this, it is subtracting a day.  Here is the code:</p>
  
  <pre><code>var dateString = "2016-04-10";
  var date = new Date(dateString);
  
  // date = Sat Apr 09 2016 18:00:00 GMT-0600 (MDT)
  </code></pre>
  
  <p>What do I misunderstand?  Why is the date not <code>Apr 10 2016</code>?  How do I make this work properly?</p>