Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by bigmacbear (Monk)
on May 10, 2006 at 22:38 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://548580]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (7)
As of 2024-04-23 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found