Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: localtime - make the date format different?

by andreas1234567 (Vicar)
on Dec 23, 2008 at 07:03 UTC ( [id://732245]=note: print w/replies, xml ) Need Help??


in reply to localtime - make the date format different?

Date::Format:
$ perl -wle 'use Date::Format; my @lt = localtime((stat(q{/etc/passwd} +))[9]); print strftime("%c", @lt);' 11/08/08 11:27:57
Consult the documentation to get the output exactly how you want it.
--
No matter how great and destructive your problems may seem now, remember, you've probably only seen the tip of them. [1]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-03-28 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found