Seconds from 19xx to Date (and visa versa)

Doug Gwyn gwyn at smoke.BRL.MIL
Mon Oct 31 16:25:30 AEST 1988


In article <916 at vsi.COM> friedl at vsi.COM (Stephen J. Friedl) writes:
>"Doug, why does a time_t range from 0 through 61?"

It's not time_t, but rather the number of seconds in a struct tm's
tm_sec member.

The answer is, there was one magic moment in history when TWO leap
seconds were added to the same minute.

I told you you didn't really want to know.



More information about the Comp.lang.c mailing list