www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/06/21/05:23:35

Date: Tue, 21 Jun 1994 10:19:21 +0200
From: "Grzegorz B. Mazur" <gbm AT ii DOT pw DOT edu DOT pl>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019