I have a use case in which one excel file is modified multiple times and saved with different names. I am able to extract the date time of these files. How do I compare all these dates and times and figure out which one is the latest saved excel.
These are the last modified dates and times.
I use that for a different scenario. For the current scenario - There are multiple files in that folder. pdf,excel,text,word. There could be multiple excel files that I don’t need as well.
I have filtered out the ones that I need and added them into a list. Now I have to compare and get the latest from the list.