Jan. 12, 2009
10:45 p.m.
We know. The tzname[] array is a bogus legacy interface that has to be maintained for compatability with ancient applications. Nothing rational is going to be using it these days. Just ignore that nonsense - if your application has no need for this legacy compatability, just delete tzname[] completely.
So what is the way, in this code (or POSIX), to get the name of the timezone? And I assume what is really wanted is the name at the time of interest, so you can label output with the local time and the abbreviation. --John (Forgive me for using Outlook; I can't find a way to format quotes. Or to do anything else for that matter.)