title: Convert Round-Trip Time Pattern in ES6
body: <p>I'm trying to convert something like this <code>2020-10-01T17:00:00.000Z</code> to the correct time something like <code>06:00:00 PM</code>. Pls see my code below:</p>
  <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 date = "2020-10-01T17:00:00.000Z";
  const output = new Date(date).toLocaleTimeString('en-US');
  console.log(output);</code></pre>
  </div>
  </div>
  </p>