Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uw-beaver Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!tektronix!uw-beaver!golde From: golde@uw-beaver (Helmut Golde) Newsgroups: net.lang.c Subject: Re: Daylight Savings Time Message-ID: <1727@uw-beaver> Date: Sun, 1-Dec-85 18:40:55 EST Article-I.D.: uw-beave.1727 Posted: Sun Dec 1 18:40:55 1985 Date-Received: Thu, 5-Dec-85 04:45:51 EST References: <124@brl-tgr.ARPA> Reply-To: golde@uw-beaver.UUCP (Helmut golde) Organization: U of Washington Computer Science Lines: 14 Summary: I am unclear as to why *any* application program would ever want to know whether daylight savings time is in effect or not. As long as the localtime() function returns the current local time, why care whether DST is in effect at all? I understand that the operating system might need to know if its real time clock is calibrated in GMT, but user programs shouldn't need to know this information. In any case, the most prudent route would be to have the DST flag have THREE possible values: 0 currently on standard time 1 currently on daylight time -1 daylight status unknown -- Peter Golde