my ($seconds, $minutes, $hours, $day_of_month, $month, $year, $wday, $yday, $isdst) = localtime($file1[10]); #### my ($day_of_month, $month, $year) = (localtime($file1[10]))[3..5];