title: How to retrieve the system timezone in TZ format .net c#
body: <p>I'm trying to work out how to retrieve the current system timezone in a (<a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones" rel="nofollow noreferrer">TZ</a>) format on windows, ie. America/New_York, I need to supply this to an API this application communicates with. </p>
  
  <p>I'm currently using </p>
  
  <pre><code>TimeZone.CurrentTimeZone
  </code></pre>
  
  <p>Which gives me this output</p>
  
  <pre><code>GMT Standard Time
  </code></pre>
  
  <p>What I hope to get is something like </p>
  
  <pre><code>Europe/London
  </code></pre>
  
  <p>Am I missing something simple or is this not available and thus does that mean I need to do the conversion myself? </p>