>From perldoc for the stat function (as opposed to the OO interface
available via file::stat):

               8 atime    last access time in seconds since the epoch
               9 mtime    last modify time in seconds since the epoch
              10 ctime    inode change time (NOT creation time!) in
seconds since the epoch

The epoch is midnight on January 1, 1970.  Have a look at all of the
time-related man pages for your system.

[EMAIL PROTECTED] wrote:
> 
>  Hello,
> 
> I am looking to find out the age of a file in days, what is the best way to
> do this using perl and maby file:stat or something? I have tried but get
> some outrageous number in the  millions!?
> 
> thanks
> 
> _______________________________________________
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
begin:vcard 
n:Bell;Bayard
tel;work:(212) 762-1035
x-mozilla-html:TRUE
org:Morgan Stanley;Distributed Systems Integration
version:2.1
email;internet:[EMAIL PROTECTED]
title:UNIX Dork
adr;quoted-printable:;;9th Floor=0D=0A750 Seventh Avenue=0D=0A;New York;NY;10019;USA
x-mozilla-cpt:;-19088
fn:Bayard G. Bell
end:vcard

Reply via email to