title: Javascript date object without time zone
body: <p>I've recently implemented a webview based mobile app for a cloudbased system, and I've come across a frustrating problem.</p>
  
  <p>We store the dates in the database in the following format: </p>
  
  <pre><code>2016-10-11T11:09:00
  </code></pre>
  
  <p>In the desktop applications it comes up correctly as <strong>2016/10/11 11:09:00</strong>.</p>
  
  <p>However, in the mobile app (we use phonegap, so it's HTML + JS based), when I get this date string from the database via a PHP call, and I convert it, using 'new Date("2016-10-11T11:09:00")', it shows up with a timezone conversion, so for instance if I'm in GMT + 2, it will be <strong>2016/10/11 13:09:00</strong>.</p>
  
  <p>How can I prevent this?</p>
  
  <p>Whenever I show the dates on the views, I use a date.toString("yyyy/MM/dd HH:mm:ss") formatting.</p>
  
  <p>Also, I'm open to any suggestions, in terms of storing and showing datetime across multiple platforms. I found this <strong>yyyy-mm-ddThh:mm:ss</strong> formatting to be quite good and videly used, until I bumped into this javascript problem.</p>
  
  <p>(I'm not a javascript or HTML expert, as far as you can tell)</p>
  
  <p>LE: I don't want to convert the date to UTC string, I want the actual Date object, to be consistent with the database value, cause i'm hooking it up to an HTML datetime picker via AngularJS.</p>