title: MomentJS convert from UTC to desired timezone, not just local
body: <p>I am using momentjs but having an issue trying to convert a UTC time to a specific timezone (not necessarily local to the current user) that is specified by name <code>'America/New_York'</code>. <a href="https://stackoverflow.com/questions/42994421/momentjs-convert-datetime-from-utc-to-different-timezone">This SO question</a> is similar but didn't really help.</p>
  
  <p>My thought process is to create a utc moment obj with the received date from the server and then format that UTC time to the specific timezone for display purposes. A small snippet of how I'm currently approaching this:</p>
  
  <pre><code>var cutoffString = '20170421 16:30:00'; // in utc
  var utcCutoff = moment.tz(cutoffString, 'YYYYMMDD HH:mm:ss', '+00:00');
  var displayCutoff = 
          moment.tz(utcCutoff.format('YYYYMMDD HH:mm:ss'), 'YYYYMMDD HH:mm:ss', 'America/New_York');
  
  console.log('utcCutoff:', utcCutoff.format('YYYYMMDD hh:mm:ssa Z')); // =&gt; utcCutoff: 20170421 04:30:00pm +00:00
  console.log('displayCutoff:', displayCutoff.format('YYYYMMDD hh:mm:ssa Z')); // =&gt; displayCutoff: 20170421 04:30:00pm +00:00
  </code></pre>
  
  <p>My assumption here is that displayCutoff would be the utcCutoff time displayed in 'America/New_York' time. But it currently is displays the same time as the utcCutoff object. I also should mention that using <code>.utc()</code> instead of <code>.tz</code> and trying to manipulate the timezone after applying <code>.local()</code> did not work either. </p>
  
  <p>Any help/guidance would be appreciated.</p>