The Unix Clock Achieves Final Unity

Here’s one of those one-in-a-lifetime Geek things*:

  % perl -e 'print time, $/'
  1111111110
  % perl -e 'print time, $/'
  1111111111
  % perl -e 'print time, $/'
  1111111112
  %

Now how cool is that?

In theory, I retire the day before the Unix clocks wraps, though judging from the number of old COBOL programmers who found re-employment during the Y2K run-up, I might land some consulting work fixing old Unix apps.


* The Unix clock counts the number of seconds since January 1, 1970 at 00:00 GMT. Due to an accident of history, the number of seconds in Unix time is limited to the largest number that can be represented in a 32-bit integer. That number of seconds takes us to January 19, 2038. Then, *poof*, Unix boxes worldwide burst into flame, and civilization grinds to a halt, just like what happened when Y2K hit. Today was the last day that the number of seconds in Unix time can be represented by a string of 1’s.