Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: How can I convert epoch seconds to date format

by bigmacbear (Monk)
on May 10, 2006 at 22:38 UTC ( #548580=note: print w/replies, xml ) Need Help??


in reply to Re: How can I convert epoch seconds to date format
in thread How can I convert epoch seconds to date format

This won't help the OP necessarily, but if you just want to display human-readable date and time without mucking with the data structure, remember that localtime() and gmtime(), when used in scalar context, return a string in the default format defined by ctime(3).

  • Comment on Re^2: How can I convert epoch seconds to date format

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://548580]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2021-01-16 09:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?