I need to pick latest file from the following using latest time value .
for example
Code: Select all
1) ABC020720061310.txt
2) ABC020720061510.txt
3) ABC020720060610.txt
In this ABC is the name with which the file name starts and 02072006(DDMMYYYY) is the date and 1310(24:00 HRS format) is the time.
Thanks in advance.