Have you looked at the file test operators -M -A and -C?
There is the strangeness about what they measure (the time in days that was true when your script started). But that can be adjusted using the $^T variable.
I also have a nagging feeling that file creation dates on Windows have something weird about them
In reply to Re: File creation date
by hawtin
in thread File creation date
by sonic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |