[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Happy New Almost-Millenium




On 1 Jan 2000, Steven Pritchard wrote:
>> Speaking of which, does anyone know the exact date
>> and time when the UN*X apocalypse would occur?
>
> osiris:~$ perl -e 'print scalar(localtime(2**31-1)), "\n";'
> Mon Jan 18 21:14:07 2038
>
> (That's CST.)
>
> osiris:~$ perl -e 'print scalar(gmtime(2**31-1)), "\n";'
> Tue Jan 19 03:14:07 2038
>
> (That's GMT or UTC or whatever they're calling it this week.)
>
> Actually, add one second to that for the apocalypse, because
> everything will be fine up to that point.  :-)

I see...

Hexenhaus:~ > perl -e 'print scalar(gmtime(2**31)), "\n";'
Fri Dec 13 20:45:52 1901

Hmm, how much trouble to whip up a countdown to
the 32-bit end of the world?  : )


--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.