This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Timezones and the strftime function.


The problem I'm having concerns outputting the correct timezone using strftime function.  I'm compiling using g++ and am using a date class to output messages to an error log file.  I would like for the timezone to appear in this string.  According to ANSI C, the timezone can be output through a %Z format.  
I've tried the same compile on SunOS and HPUX and both report out the timezone.  I saw that each had a preset environent variable TZ which stored information regarding the timezone.  Is this done in a different manner for using cyg-win32?  I saw an earlier message regarding prolems with this, but I was wondering if a fix had been developed yet.

-----
Free e-mail group hosting at http://www.eGroups.com/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]