Subject: | Strange behavior for minutes |
(my $act_min, my $act_hour, my $act_day, my $act_month,my $act_year) = (localtime)[1,2,3,4,5]; $act_year+=1900; $act_month++;
#This Works:
my $update_stamp = mktime (12, "02", 0, $act_day, $act_month, $act_year);
#This Works NOT!!:
my $update_stamp = mktime (12, 2, 0, $act_day, $act_month, $act_year);
print "Time:".localtime($update_stamp);