Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Inconsistent ls -l results??

by Anonymous Monk
on Jun 14, 2001 at 22:26 UTC ( #88552=note: print w/ replies, xml ) Need Help??


in reply to Re: Inconsistent ls -l results??
in thread Inconsistent ls -l results??

That sounds good. I don't use stat because stat returns only epochal time, and I would have to import an extra module to re-parse that into human-comprehensible calendrical time.


Comment on Re: Re: Inconsistent ls -l results??
Re: Re: Re: Inconsistent ls -l results??
by ZZamboni (Curate) on Jun 14, 2001 at 22:36 UTC
    Not true. localtime($epoch_time) will return an array with all the time components. And scalar(localtime($epoch_time)) will even give you a nicely formatted string.

    --ZZamboni

      oh ok. The Date::Time or was it Time::Date or whatever has a similar function that takes a lot more complicated arguments. still, `date` works just fine for me. security is not really an issue in my environment.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2014-07-13 02:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (245 votes), past polls