in reply to Get file timestamp for a file in a directory
Change
print "Last change:\t" . scalar localtime($mtime) . "\n";
to
print "Last change:\t" . ctime(localtime($mtime)) . "\n";
as mention in the Time::localtime docs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Get file timestamp for a file in a directory
by ikegami (Patriarch) on Nov 26, 2004 at 21:01 UTC |