struct tm -> time_t converter wanted

Doug Gwyn gwyn at smoke.BRL.MIL
Sun Oct 23 04:33:34 AEST 1988


In article <6964 at cdis-1.uucp> tanner at cdis-1.uucp (Dr. T. Andrews) writes:
>On many machines, time_t seems to be a long integer number of seconds
>since the beginning of 1970.  Which this (at the moment) seems handy,
>the evil that programmers write lives long after them.
>If any of the aforementioned evil lasts until 2038, we've got fun.

The epoch could be moved.  time_t is for internal program use, not
necessarily external archive time-stamping.

Some of us believe that well before 2038 the 64-bit integer will be in
wide use.



More information about the Comp.lang.c mailing list