Date: Tue, 21 Jun 1994 10:19:21 +0200 From: "Grzegorz B. Mazur" To: djgpp AT sun DOT soe DOT clarkson DOT edu, meetze AT charlie DOT ece DOT scarolina DOT edu Subject: Re: gmtime, ctime and localtime functinons There can be a bug in one or both of your systems' setup. Theoretically the system clock should be set to GMT and TimeZone variable should define the shift between system clock and local time. UNless you are in GMT zone (I don't think this can be the case in South Carolina :- ) ) gmttime() must be different than localtime(). I am not sure about gmttime() on DOS. DOS clock is always set to local time, so porbably TZ is used in slightly different manner. Certainly someone who wrote the library (DJ ?) knows the precise answer... Gregory