Re: time_t size: The year 2038 bug Summary:

From: Andreas Bombe (andreas.bombe@munich.netsurf.de)
Date: Wed Jan 12 2000 - 15:18:37 EST


On Tue, Jan 11, 2000 at 08:43:38PM -0500, Mark Hahn wrote:
> I guess I was a little surprised to find that negative time_t's do
> map to pre-epoch values. just turning time_t unsigned would give us
> 2106. personally, I'd like to see a higher-resolution time function,
> something like 64b of ns since the epoch. and this time, let's make
> the epoch Linus's b-day ;)

Since counting seconds with 64 bits unsigned gives us nearly 585
billions (American billions) of years, we could actually set the
beginning of the epoch to the Big Bang. If only we knew its exact
date and time...

And no negative time_t's to deal with anymore.

-- 
          Andreas E. Bombe <andreas.bombe@munich.netsurf.de>
http://home.pages.de/~andreas.bombe/                DSA key 0x04880A44

The Apocalypse has been postponed - we apologize for the inconvenience.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:20 EST