title: How to translate between Windows and IANA time zones?
body: <p>As described in <a href="https://stackoverflow.com/tags/timezone/info">the timezone tag wiki</a>, there are two different styles of time zones.</p>
  
  <ul>
  <li><p>Those provided by Microsoft for use with Windows and the .Net <code>TimeZoneInfo</code> class (when running on Windows) are identified by a value such as <code>"Eastern Standard Time"</code>.</p></li>
  <li><p>Those provided by IANA in the TZDB, and used by the .NET <code>TimeZoneInfo</code> class when running on Linux or OSX, are identified by a value such as <code>"America/New_York"</code>.</p></li>
  </ul>
  
  <p>Many Internet-based APIs use the IANA time zones, but for numerous reasons one might need to convert this to a Windows time zone id, or vice-versa.</p>
  
  <p>How can this be accomplished in .Net?</p>