title: How to get UTC offset in javascript (analog of TimeZoneInfo.GetUtcOffset in C#)
body: <p>In C# you can use </p>
  
  <pre><code>System.TimeZone.CurrentTimeZone.GetUtcOffset(someDate).Hours
  </code></pre>
  
  <p>But how can I get UTC offset in hours for a certain date (Date object) in javascript? </p>