in reply to Re^3: comparing 2 file time date stamps ( Path::Tiny File::stat Time::Piece )
in thread comparing 2 file time date stamps
I tried
Mon Nov 3 11:57:55 2014
which is the stamp of the file not in the staging directory.
All methods seem to return the same modification date for both files, even though the file dates are 11/3 and 11/2, respectively.
The result was for both filesuse File::stat; use Time::localtime; $dd[11] = ctime(stat("$xxfn1")->mtime); $dd[12] = ctime(stat("$xxfn2")->mtime);
Mon Nov 3 11:57:55 2014
which is the stamp of the file not in the staging directory.
All methods seem to return the same modification date for both files, even though the file dates are 11/3 and 11/2, respectively.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: comparing 2 file time date stamps ( Path::Tiny File::stat Time::Piece )
by Anonymous Monk on Nov 05, 2014 at 04:38 UTC |
In Section
Seekers of Perl Wisdom