title: how to get rid of Date timezone in Javascript?
body: <p>The following code (see <a href="https://jsfiddle.net/ps3331333/b43k4zdc/1/" rel="nofollow">jsfiddle</a>)</p>
  
  <pre><code>var dt = new Date("2016-02-28");
  console.log(dt);
  </code></pre>
  
  <p>logs</p>
  
  <pre><code>Sat Feb 27 2016 19:00:00 GMT-0500 (Eastern Standard Time)
  </code></pre>
  
  <p>Note 27 vs. 28. I need to create a var that's a date, but how to ignore the timezone?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>This solved my problem: parse manually </p>
  
  <pre><code>var dt = new Date("2016-02-28");
  console.log(dt);
  var dt2 = new Date(2016,1,28);
  console.log(dt2);
  </code></pre>
  
  <p>logs</p>
  
  <pre><code>Sat Feb 27 2016 19:00:00 GMT-0500 (Eastern Standard Time)
  Sun Feb 28 2016 00:00:00 GMT-0500 (Eastern Standard Time)
  </code></pre>