Why are the timezone offset returning different values?
<p>My location is at GMT +5:30</p>

<p>When I try to find <code>getTimezoneOffset</code> using JavaScript</p>

<pre><code>var x = new Date();
var currentTimeZoneOffsetInHours = x.getTimezoneOffset() / 60;
</code></pre>

<p>I get the value <code>-5.5</code>. Curiously, when I am doing the same using C#</p>

<pre><code>var localZone = TimeZone.CurrentTimeZone;
var localOffset = localZone.GetUtcOffset(new Date());
var currentTimeZoneOffsetInHours = localOffset.TotalHours;
</code></pre>

<p>The return value is <code>5.5</code>.  </p>

<p>Is this sign change by design or am I missing anything important?</p>
