Javascript date convert to timezone with format
<p>How can i create a date object, then convert to another timzone from a datestring with a timezone and format as below</p>

<pre><code>var date="20160317T073000";
var format = "YYYYMMDDTHHmmss";
var timezone ="America/New_York"

var newTimezone="Asia/Kolkata"
</code></pre>

<p>i want the date to convert to newTimezone, i tried with moment.js, but its converting to browser timezone</p>

<pre><code>date=moment(date,format); 
date.tz(timezone);

console.log(moment(date).format());
</code></pre>