ietf
[Top] [All Lists]

Re: 64bit time_t

2008-06-21 11:47:31
Chad Giffin <typosity at hotmail dot com> wrote:

Make time_t 64 bits wide. Make the most significant bit (bit 63) a sign bit. Make the next 50 significant bits store the number of seconds elapsed since January 1st 2000 GMT. The last 13 bits be of fractions of a second.

What do you think?

Write up an Internet-Draft and it won't be off-topic any more. Just be sure to check for prior art first, because you're likely not the first person to try to solve this problem.

I would argue that if the data type has a 35 million year span, then setting the baseline at 2000-01-01 seems arbitrary.

--
Doug Ewell  *  Arvada, Colorado, USA  *  RFC 4645  *  UTN #14
http://www.ewellic.org
http://www1.ietf.org/html.charters/ltru-charter.html
http://www.alvestrand.no/mailman/listinfo/ietf-languages  ˆ

_______________________________________________
IETF mailing list
IETF(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf
<Prev in Thread] Current Thread [Next in Thread>