title: How to get convert server time to local time and deal with daylight saving time
body: <p>I host my website (asp.net webforms, .Net 4.5, SQL Server 2012) on Godaddy and they (the server) use <code>Mountain Standard Time</code> (<strong>-7</strong> compare to <code>UTC</code> time) which is <strong>never changed</strong> and <strong>does not</strong> observe daylight saving time.</p>
  
  <p>So if I do</p>
  
  <pre><code>Response.Write("UTC Time: " + DateTime.UtcNow.ToString() + "&lt;br/&gt;");
  Response.Write("Server Time: " + DateTime.Now.ToString() + "&lt;br/&gt;");
  Response.Write("Server DateTimeOffset: " + DateTimeOffset.Now.ToString() + "&lt;br/&gt;");
  </code></pre>
  
  <p>It will display this:</p>
  
  <pre><code>UTC Time: 9/18/2015 5:14:09 PM
  Server Time: 9/18/2015 10:14:09 AM
  Server DateTimeOffset: 9/18/2015 10:14:09 AM -07:00
  </code></pre>
  
  <p>But my users are located in Atlanta, GA which <strong>does</strong> observe daylight saving time and according to <a href="http://www.timeanddate.com/worldclock/usa/atlanta" rel="nofollow">timeanddate.com</a> they use <a href="http://www.timeanddate.com/time/zones/edt" rel="nofollow">EDT</a> in the summer and <a href="http://www.timeanddate.com/time/zones/est" rel="nofollow">EST</a> in the winter</p>
  
  <p>How do I get correct current time of user? Let say user open my web-application and hit <code>Show my time</code> button, it will display a correct current user's time?</p>