title: Setting different time zone in IIS or web.config
body: <p>I am logging time in many places </p>
  
  <pre><code>If Request.DynamicSettings.AirlineSettings.AirlineGeneralSettings.TimeLogEnabled Then
                          StartTime = DateTime.Now
                          LogTime(Reflection.MethodBase.GetCurrentMethod.DeclaringType.FullName, Reflection.MethodBase.GetCurrentMethod.Name, StartTime, DateTime.Now, "AB-SCR(I)", 0,)
      End If
  </code></pre>
  
  <p>all places i have used </p>
  
  <blockquote>
    <p>DateTime.Now</p>
  </blockquote>
  
  <p>I am facing an issue now, 
  I am currently hosting this in a gulf server, GMT +4:00
  I need to host this same project for another country at Gmt +3Gmt
  for this hosting i need time to be logged using that country's local time.</p>
  
  <p>Is there any way to do this, without having to modify each and every line of my code.</p>
  
  <p>i have seen this article <a href="https://stackoverflow.com/questions/832986/how-to-work-with-time-zones-in-asp-net">timzone with asp.net</a> but as my service is already up i have a lot of codes to change, i am looking for a simpler solution.</p>
  
  <p>thanks.</p>