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

Re: [MacPerl] Is Your Mac S3B Compliant?



At 20:06 -0500 1/19/99, Chris Nandor wrote:
> On Sunday morning at 5:20 a.m., time will return exactly 3000000000.  We've
> never had an epoch in Mac OS or Unix that returned 9 zeros in a row.  While
> Mac OS hits 3 billion Sunday, Unix hits 1 billion in September 2001.
>
> rock% perl -le 'print scalar localtime 9 * 10 ** 8'
> Thu Jul  9 12:00:00 1998
> rock% perl -le 'print scalar localtime 10 * 10 ** 8'
> Sat Sep  8 21:46:40 2001
>
>
> Incidentally, I watched the Unix epoch roll over to 900 million in July.  :)

On the other hand, the underlying data storage is binary, and 900 
million is nothing special in binary.

But yes, someone somewhere has probably written broken code which 
will have a problem.  Broken code is so much easier to write than the 
other kind.

After all, Fog City or Claris managed to mess up dates in 1999 in one 
part of and early version Claris Emailer Lite (early enough that I 
tossed in the "Fog City or").  They managed to roll them back to 
1919, somehow.

   --John (who tries to watch his car's odometer roll to interesting 
numbers...and it's had several chances in its 232,000 miles (approx))
--
John Baxter   jwblist@olympus.net      Port Ludlow, WA, USA
Give a man a fish and you feed him for a day.  Teach him to fish,
and you get rid of him for the weekend.

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch