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

[MacPerl] the date is not the date



use Time::localtime;

$reallyWhen = localtime->mon();
print $reallyWhen;

please, tell me that there is something wrong. this is nuts.

I get "11" as the result.

as it is with

use Time::localtime;

$reallyWhen = localtime->mon();
printf "the month is %d", $reallyWhen;

sys 8.5.1

ps. I'd LOVE it to be really november, but.....



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