Ok folks please help,

I try this:

$test1 = localtime(time);
print "$test1";
print "<BR><BR>";
($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time);
print "$sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst";

and get:

Fri Mar 16 07:52:45 2001

45,52,7,16,2,101,5,74,0

So my question is about the $mon, why is it two and not 3 ?! !?

John
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to