lkml.org 
[lkml]   [2000]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: time_t size: The year 2038 bug Summary:
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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:1.926 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site