Re: Y2K style bug for Linux

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Jeff Garland
Date:  
To: plug-discuss
Subject: Re: Y2K style bug for Linux
On Sat, 07 May 2005 11:34:39 -0700, Victor Odhner wrote
> Frank Burton wrote:
> > I found this article surfing ...
> > <http://us.rediff.com/money/2005/may/06linux.htm>
>
> This is ancient news, and you should not lose any sleep over it.
>
> All unix-like systems keep track of time and date in a variable type
> called time_t, which at the moment happens to be 32 bits wide. The
> value is in seconds since 12/31/1970, and it will overflow the 32
> bit limit in 2038.


Well if you're programming in C++, all I can say is stop dealing with these
low level types and give yourself some breathing room. See Boost.date-time
written by me with a helping had from another plug member Bart G :-(

http://www.boost.org/doc/html/date_time.html

Boost has found its way into at least a couple linux distros....

Jeff



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss