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):>
Like someone else mentioned, you can use localtime, but I would parse it with Date::Format. It'll give you the timestamp formatted in pretty much any way you need it.