title: What are the disadvantages to using ctime's tzset?
body: <p>In a question about getting a system's time zone, <a href="https://stackoverflow.com/a/2151076/503377">this answer</a> did not get up-voted.</p>
  
  <p>It suggests the use of <code>tzset()</code> and some system globals (e.g. <code>daylight</code>, <code>timezone</code>, and <code>tzname</code>) from <code>time.h</code>.</p>
  
  <p>After some testing, I was able to get accurate results from this method on both Windows and Mac. But I'm guessing the answer mentioned above was not up-voted for a reason. Is this true? <strong>Should I prefer OS-specific calls instead of this C-standard?</strong></p>