Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Aug 1998 15:03:05 -0600
From:      Brett Glass <brett@lariat.org>
To:        Mike Smith <mike@smith.net.au>
Cc:        Mike Smith <mike@smith.net.au>, hackers@FreeBSD.ORG
Subject:   Re: 64-bit time_t 
Message-ID:  <4.1.0.44.19980813150058.03f4dd80@127.0.0.1>
In-Reply-To: <199808131924.MAA00367@dingo.cdrom.com>
References:  <Your message of "Thu, 13 Aug 1998 11:41:05 MDT."             <199808131752.LAA13123@lariat.lariat.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 12:24 PM 8/13/98 -0700, Mike Smith wrote:

>> 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.

It's used throughout UNIX and UNIX programs as such. And rightfully so;
it's silly to have multiple date formats.

>Might I suggest that you should consider using something with perhaps a 
>slightly reduced precision, like anyone else that does work involving 
>longer timeframes?

This would create an incompatible notation and would make life much more
difficult than fixing the basic problem.

>time_t is not a hammer.

Nope, but I don't intend to carry an entire box of tools to screw in a light
bulb.... ;-)

--Brett

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.0.44.19980813150058.03f4dd80>