Perl: localtime
Localtime returns the current time for the current time zone. Localtime returns a nine element list containing the second, minute, hour, day, month, year, weekday, yearday, is-daylight savings time. By applying the scalar function to the localtime function, we turn the localtime return list into a scalar string value and store it in $time.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*