my ($sec,$min,$hour,$day,$month,$year) = (localtime)[0..5]; $month++; $year+=1900;