Time Functions?
Earnie Boyd
earnie_boyd@hotmail.com
Tue Oct 21 05:39:00 GMT 1997
>Date: 1997年10月21日 06:38:53 -0400
>To: gnu-win32@cygnus.com
>From: Keet / Foxbird <Keetnet@wilmington.net>
>Subject: Time Functions?
>>>I compiled a nice little server and am having a few little problems
with
>the time functions. I've used strftime() in C++, and a few other
functions
>in C.. and they all return the wrong time. Specifically CST/CDT rather
than
>EST. One example would be that my Win95 task bar clock reports 20:32
and
>the strftime function reports 19:32. I don't have any way to test if
the
>time runs correctly in a CST time zone or even a PST. I've tried
telling
>Win95 that I'm in the CST time zone.. and even the PST time zone, but
it
>still is one hour behind! Is there a flag I missed, some option, or
just
>something crazy I didn't notice? Any ideas/comments/help GREATLY
appreciated.
>
How about the date? It sounds to me as if WIN95 is reporting Daylight
Savings Time and the function is returning Standard Time.
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list