Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

list slice

by eXile (Priest)
on Jul 21, 2006 at 18:21 UTC ( #562911=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @stat = stat($file);
    my @localtime = localtime($stat[9]);
    my $year = $localtime[5] + 1900;
    
  2. or download this
    my $year = localtime((stat($file))[9])[5] + 1900;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://562911]
Approved by bart
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2016-12-03 09:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (54 votes). Check out past polls.