title: Date calculation working fine in Chrome and Firefox but not in Safari
body: <p>I'm calculating a difference between two times. This works fine in chrome and firefox, returning the milliseconds difference. It doesn't in Safari, returning difference as NaN.</p>
  
  <pre><code>    var currentdate = new Date();
      var myDate = "2018-07-15 21:06:00";
      var difference = (currentdate - new Date(myDate))/3600000;
  </code></pre>
  
  <p>Thanks</p>