title: Javascript: how to convert a UTC date to local one?
body: <p>Looks like a very simple thing to do? Not afrer reading this <a href="http://dygraphs.com/date-formats.html" rel="nofollow">http://dygraphs.com/date-formats.html</a> - what a mess!</p>
  
  <pre><code>var time_utc="2016-04-25 20:19:00.306671";
  document.write("Local date:"+new Date(time_utc+" UTC")); // Firefox 44.0.2: Invalid Date 
  </code></pre>
  
  <p>How do I print a date in above format adjusted to local time?</p>