title: Changing Date time zone in Javascript?
body: <p>I have a date in UTC format `2020-06-19T03:55:12.000Z. Now i am converting into date of US timezone as </p>
  
  <pre class="lang-js prettyprint-override"><code>let syncDate = moment(date, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]')
      .subtract(7, 'hours')
      .format('YYYY-MM-DD[T]HH:mm:ss.SSS[Z]');
  </code></pre>
  
  <p>This gives me a date 7 hours behind which is date of US. But i want a date in below format </p>
  
  <pre><code>2020-06-18T21:00:24.523-07:00 
  </code></pre>
  
  <p>Here if we can see the hours are defined as -7 so please guide how can we achieve the same ?</p>