Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^5: comparing 2 file time date stamps

by GrandFather (Saint)
on Nov 06, 2014 at 20:30 UTC ( [id://1106427]=note: print w/replies, xml ) Need Help??


in reply to Re^4: comparing 2 file time date stamps
in thread comparing 2 file time date stamps

Ok, so stat is working as expected. In that case most likely the files do have the same modification date and for some reason your impression that the dates are different is incorrect.

Perl is the programming world's equivalent of English
  • Comment on Re^5: comparing 2 file time date stamps

Replies are listed 'Best First'.
Re^6: comparing 2 file time date stamps
by craigt (Acolyte) on Nov 07, 2014 at 14:07 UTC
    GrandFather, the list of files presented to me by Windows 7 when I go into the stage directory is what I'm basing my impression on. The list shows that the date of files in the stage directory is not what stat is returning to me in my program and not the same as the like-named file in the KY directory.

    And I do reproduce this result for 12 file pairs of like-named files in these 2 directories in my application. It looks right in the code you suggested I do, but not in my application or the code Corion suggested I do or the javascript I did. I am confused. I not sure how to proceed.

    The dates of these 12 file pairs that I've chosen for diagnostic purposes are not the same as shown by the windows file list, but all the diags I've done (my app, what you and corion suggested, and the javasscript) show that the dates of the pairs are the same, the 2nd file (stage) having the date of the 1st (KY), or the 2nd file (stage directory) stamp is different but incorrect.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1106427]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2024-04-19 09:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found