title: Get Timezone Offset of Server in C#
body: <p>How can I get the timezone offset of the physical server running my code? Not some date object or other object in memory.</p>
  
  <p>For example, the following code will output <code>-4:00:00</code>:</p>
  
  <pre><code>&lt;%= TimeZone.CurrentTimeZone.GetUtcOffset(new DateTime()) %&gt;
  </code></pre>
  
  <p>When it should be <code>-03:00:00</code> because of daylight savings</p>