use POSIX qw(strftime); my $accesstime = (stat $file)[8]; my $human_readable_date = strftime("%d.%m.%Y %H:%M:%S", $accesstime);