MLUG: Re: [MLUG] 2038 Rollover - Was: Unix Epoch Time
Re: [MLUG] 2038 Rollover - Was: Unix Epoch Time
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Thu, 8 Jan 2004, Russell Horn wrote:

> You can even see if your computer is affected with this bit of perl.

OK.  I ran that code (below) and this is what I got back:

Tue Jan 19 03:14:01 2038
Tue Jan 19 03:14:02 2038
Tue Jan 19 03:14:03 2038
Tue Jan 19 03:14:04 2038
Tue Jan 19 03:14:05 2038
Tue Jan 19 03:14:06 2038
Tue Jan 19 03:14:07 2038
Tue Jan 19 03:14:07 2038
Tue Jan 19 03:14:07 2038
Tue Jan 19 03:14:07 2038

So does that mean I am affected or what?

Mike


> #!/usr/bin/perl
> use POSIX;
> $ENV{'TZ'} = "GMT";
>
> for ($clock = 2147483641; $clock < 2147483651; $clock++)
>      {
>       print ctime($clock);
>      }
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members