From owner-freebsd-hackers Thu Aug 13 12:26:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA23707 for freebsd-hackers-outgoing; Thu, 13 Aug 1998 12:26:57 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA23702 for ; Thu, 13 Aug 1998 12:26:55 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id MAA00367; Thu, 13 Aug 1998 12:24:12 -0700 (PDT) Message-Id: <199808131924.MAA00367@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Brett Glass cc: Mike Smith , hackers@FreeBSD.ORG Subject: Re: 64-bit time_t In-reply-to: Your message of "Thu, 13 Aug 1998 11:41:05 MDT." <199808131752.LAA13123@lariat.lariat.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 13 Aug 1998 12:24:11 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > At 10:21 AM 8/13/98 -0700, Mike Smith wrote: > > >Read the article: > > > > Certainly by 2038, Unix 'time_t' will be 64 bits or more, > > assuming Unix survives in some form," said Dennis Ritchie, > > co-author of the Unix operating system. > > > >If you have nothing else to worry about for the next 40 years, I'm sure > >we can find you something more useful to do. 8) > > I'd kind of like to do financial projections for my retirement and not > have the calculations blow up, as they do now. time_t is a format for the system current time. As such, you're abusing it mightily if you expect it to be a general-purpose time value. Might I suggest that you should consider using something with perhaps a slightly reduced precision, like anyone else that does work involving longer timeframes? time_t is not a hammer. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message