It seems that the file names contain some indication of what date they were created on. Is that right? If so, you have two options:
- Use the name of the file to determine its creation date
- Use the system's last modified time (assuming the files don't get modified after they are created.)
Am I on the right track? If you want to use the first approach we need to know what the <rest> of the file names look like.