How to parse yyyy-MM-dd HH:mm:ss.SSS format date in javascript?
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>const time = '2016-11-16 00:00:00.000';
const date = new Date(time);
console.info(date);</code></pre>
</div>
</div>
</p>

<p>It seems safari cannot parse yyyy-MM-dd HH:mm:ss.SSS format date( it returns NaN ) while chrome works fine, how can I parse this?</p>