You seem to be reporting the results of several run. And the way the code is currently constituted you are only getting the mtime of the 'last' file in the directory; perhaps the stat and its friends belong a few line further up? Inside the while loop, perhaps?
If your question is why are several of the times the same, I should point out the mtime is the last -modified- time; not necessarily the creation time.
----
I Go Back to Sleep, Now.
OGB
In reply to Re: Confusing Use of Time
by Old_Gray_Bear
in thread Confusing Use of Time
by dReKurCe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |