Date: Sun, 7 Sep 1997 13:31:34 -0400 (EDT) Message-Id: <199709071731.NAA04872@delorie.com> From: DJ Delorie To: eliz AT is DOT elta DOT co DOT il CC: djgpp-workers AT delorie DOT com In-reply-to: (message from Eli Zaretskii on Sun, 7 Sep 1997 19:08:17 +0300 (IDT)) Subject: Re: 970831: mktime() Precedence: bulk > When the zip file was unpacked, shouldn't UnZip set its DOS time stamp so > that this never happens (assuming TZ is set)? The timezone file should > tell whether DST is in effect or not, no? Something as simple as "dir > file.txt" could create a file with a DOS timestamp with two possible time_t values, because *dos* doesn't store the timezone information with the file. Besides, converting a time_t to a dos date/time *can* create a date/time that cannot be uniquely converted back to a time_t, if the time corresponded to the last hour of daylight savings time (turn the clock back, and gee, it's 1:15 AM again! Which one?)