use POSIX qw(strftime); $now_string = strftime "%a %b %e %H:%M:%S %Y", localtime; #### -- Joost downtime n. The period during which a system is error-free and immune from user input.