in reply to A little help w/ stat() por favor...
$mtime = stat($files)[9];
Or, if you'd like a relative "time since" in fractional days, you could use:$mtime = (stat($files))[9];
Update: /me ducks to avoid the flying trout and fixes the syntax error$days_since_modified = -M $files;
-Blake
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: A little help w/ stat() por favor...
by augamecock (Novice) on Jan 11, 2002 at 06:42 UTC | |
by blakem (Monsignor) on Jan 11, 2002 at 06:48 UTC | |
by augamecock (Novice) on Jan 11, 2002 at 06:54 UTC | |
by blakem (Monsignor) on Jan 11, 2002 at 06:55 UTC | |
by augamecock (Novice) on Jan 11, 2002 at 06:55 UTC | |
|
Re: Re: A little help w/ stat() por favor...
by augamecock (Novice) on Jan 11, 2002 at 06:57 UTC |