Date: Fri, 26 Aug 94 15:08:47 -0400 From: dj AT ctron DOT com (DJ Delorie) To: eliz AT is DOT elta DOT co DOT il Cc: storner AT olicom DOT dk, djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Why TZ=EST5EDT fails > I'm sorry, but after reading all the mail on this subject, I still > am not sure, how stat() should behave? If stat() takes the time stamp > found in the directory entry on disk, interprets this as *local* time > and returns the according GMT time using TZ as description of local > time zone--is this all right? stat() should return all times as GMT times. This means that, on DOS, you have to use the local-time timestamps and convert them (using TZ) to GMT times.