>Just a small question. >Is it possible to ask MacPerl to give 4 figures rather than two when Im asking >for the year? >Now Im doing like this: > > @date = localtime; > $date[5] +=1900; # Add 1900 to the year.... > >This is of course not so good when we pass year 2000.... You say "of course," but why? What will break? In the year 2000, $date[5] will be 100, not 0. You can verify this for yourself by temporarily setting your clock ahead and running your test script. -- Paul DuBois paul@snake.net Home Page: http://www.primate.wisc.edu/people/dubois Software: http://www.primate.wisc.edu/software ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch