Get time difference between two time zones (Javascript)
<p>I have:</p>

<p>any date (GMT+00:00)UTC</p>

<pre><code>var d = new Date(y, m, d, h, min, s);
</code></pre>

<p>and time difference in hours</p>

<pre><code>var visitortime = new Date();
var time_offset = visitortime.getTimezoneOffset()/60;
</code></pre>

<p>How I can calculate new date considering the difference without writing long handmade function?</p>
