Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!mintaka!spdcc!ima!dirtydog!karl From: karl@ima.isc.com (Karl Heuer) Newsgroups: comp.std.c Subject: Re: Questions about mktime() Message-ID: <1991Feb02.185704.1209@dirtydog.ima.isc.com> Date: 2 Feb 91 18:57:04 GMT References: <1991Jan18.225155.7310@druid.uucp> <1991Jan20.205039.7056@sq.sq.com> <2582@root44.co.uk> <14952@smoke.brl.mil> <1991Jan28.224605.12960@sq.sq.com> Sender: news@dirtydog.ima.isc.com (NEWS ADMIN) Organization: Interactive Systems Lines: 13 >[So, what should mktime() return in the neighborhood of DST changeover, >when the argument represents a clock time which is (depending on season) >impossible or ambiguous?] Personally, I think we should've handled DST in the same way as leap days and leap seconds: just add another hour to the legal range of the variable. Then Spring Changeover Day would end at 23:00, and Fall Changeover Day would end at 25:00. It is left as an exercise to the reader to determine how 24:30 is denoted in those backward countries that use 12-hour clocks, such as the United States. Karl W. Z. Heuer (karl@ima.isc.com or uunet!ima!karl), The Walking Lint