blackadder has asked for the wisdom of the Perl Monks concerning the following question:
I get the following resultsmy ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime, +$blksize,$blocks) = stat($filename); print "$atime : $mtime : $ctime\n";
how can the above get converted to a more human like date? like this => 07 September 2004, 13:32:541094560374 : 1094551336 : 1094551336
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Most recently created file in a folder
by Zaxo (Archbishop) on Sep 07, 2004 at 13:06 UTC | |
by bluto (Curate) on Sep 07, 2004 at 15:04 UTC | |
|
Re: Most recently created file in a folder
by tachyon (Chancellor) on Sep 07, 2004 at 13:20 UTC | |
by Anonymous Monk on Sep 07, 2004 at 13:50 UTC | |
by bluto (Curate) on Sep 07, 2004 at 15:12 UTC | |
|
Re: Most recently created file in a folder
by Anonymous Monk on Sep 07, 2004 at 13:11 UTC | |
|
Re: Most recently created file in a folder
by Grygonos (Chaplain) on Sep 07, 2004 at 13:15 UTC |