Daylight Savings Time, Leap Years, ctime, and date
David Goodenough
dg at lakart.UUCP
Tue Apr 11 02:38:31 AEST 1989
>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.
Do you _REALLY_ think this code will still be running on Feb 28, 2100.
No I didn't think so. For the forseeable future, the naive method works
just fine. :-)
--
dg at lakart.UUCP - David Goodenough +---+
IHS | +-+-+
....... !harvard!xait!lakart!dg +-+-+ |
AKA: dg%lakart.uucp at xait.xerox.com +---+
More information about the Comp.unix.questions
mailing list