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

[MacPerl] Millenium Bug (was: re: newbie alert :-) question onthe date thing...)



At 16:46 +1000 on 15/8/97, Paul Evad wrote:
>  $parse{"y"}=$year;
>  if($year>67) {$parse{"Y"}="19$year"} else {$parse{"Y"}="20$year"};
>  #get day

Which of course prompts me to ask... is it Unix, MacOS, Perl or MacPerl
that limits the year to 2 digits?

At what level would one need to make a "fix" to get the year to return
*all* the digits... or are we once again fighting the 32bit limit here?
(*all* the digits, not "all four")

A 64 bit time field would give us a few more years to play with... but I
suppose I'm tilting at windmills already...

-Alex

Windows 95: n. 32 bit extensions and a graphical shell for a 16 bit patch
to an 8 bit operating system originally coded for a 4 bit microprocessor,
written by a 2 bit company.



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