title: Passing Time Zone in Moment
body: <p>I am trying to change a time in UTC Format with ISO standard in node js, so here is what I did</p>
  
  <pre><code>moment("201602160530","YYYYMMDDHHmm").toISOString();
  </code></pre>
  
  <p>"201602160530":- this date is in IST Format.
  "YYYYMMDDHHmm":- format of date passed.</p>
  
  <p>When I ran this line in my local then output came:-</p>
  
  <pre><code>'2016-02-16T00:00:00.000Z'
  </code></pre>
  
  <p>This output is valid output as I am converting IST to UTC and with my local timezone in IST, it's working perfectly well.</p>
  
  <p>But then I ran the same code on server and output came is:-</p>
  
  <pre><code>'2016-02-16T05:30:00.000Z'
  </code></pre>
  
  <p>As the server running with timezone of UTC, moment is taking input date as UTC and Printing the same Date in ISO format.</p>
  
  <p>But My goal is to pass the date in IST and get the time in UTC.</p>
  
  <p>So how do I need to pass the timezone information with this line</p>
  
  <pre><code>moment("201602160530","YYYYMMDDHHmm").toISOString(); 
  </code></pre>