[TUHS] Date madness
Dave Horsfall
dave at horsfall.org
Thu Dec 14 10:57:49 AEST 2017
On Tue, 12 Dec 2017, Noel Chiappa wrote:
> Heh, my V6 machine thinks (via 'date') that today is _Monday_, December
> 12th. Oddly enough, 'cal 17 2017' on it produces the right thing. Guess
> the date code is probably missing the '400 year' exception.
I fixed a Y2K bug once, when I found some code that baldly asserted that
2000 was *not* a leap year (and written by my then boss, no less).
Oh, I was also on duty around 0700 on 1/1/2000, just in case; yeah, there
were a couple of minor glitches, such as printing cheques for the year
19100...
--
Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."
More information about the TUHS
mailing list