I need to read the system clock (time and date) and display it in a human-readable format in Perl.
Currently, I\'m using the following method (which I found here):>
The simplest one-liner print statement to print localtime in clear, readable format is:
print scalar localtime (); #Output: Fri Nov 22 14:25:58 2019