April 9, 2015
5:49 a.m.
Ted Cabeen said:
Note however, that time_t does properly handle February 29th, because that is a large enough difference that it does matter, and every program that needs to measure time intervals in days over years has to correct for it. (Sometimes correctly, and like we'll see in 2100, sometimes not. We got lucky in 2000.)
I seem to recall some software thought it wasn't a leap year. -- Clive D.W. Feather | If you lie to the compiler, Email: clive@davros.org | it will get its revenge. Web: http://www.davros.org | - Henry Spencer Mobile: +44 7973 377646