Daylight Savings Time, Leap Years, ctime, and date
Gil Pilz@Eng@Banyan
gil at banyan.UUCP
Tue May 2 07:16:33 AEST 1989
In article <1937 at csuna.csun.edu> abcscnge at csuna.csun.edu (Scott Neugroschl) writes:
>In article <1918 at edison.GE.COM> rja at edison.GE.COM (rja) writes:
>>
>> From article <1006 at necis.UUCP>, by adamm at necis.UUCP (Adam Moskowitz):
>> > 2) Does anyone know if the new versions are less naive about determining
>> > leap years? It seems the current routines only use the "year % 4 ==0"
>> > rule.
>>
>>Fixed by POSIX as I recall. (POSIX == IEEE 1003.1 standard in this case).
>
>While I like Unix as much as the NeXT guy (pun intended), does anyone in
>this group REALLY believe that it will still be around in the year 2100?
>Come on, guys, and get a clue!!!!!!!
You misunderstand. UNIX may not be around in the year 2100 but there
are virtual-time implementations of UNIX that have the ability to act
_as_ _if_ _it_ _where_ 2100 and these need to worry about leapyears
etc. Now granted, the usual use of a virtual-time machine is to
operate in past-mode virtual-time (thus enabling you to get those
critical projects done on time even though it took you three weeks
longer than scheduled), it still doesn't make sense to cut corners in
such critical areas.
Delbert de la Platz @
The Society for Right Justification
(gil at banyan.com)
More information about the Comp.unix.questions
mailing list