I want to check file name report.xlsx
If modify today, I want download it.
Please guide me about it.
I want to check file name report.xlsx
If modify today, I want download it.
Please guide me about it.
Hi @fairymemay ,
Could you give this a try?
Directory.GetFiles(folderPath,"*.xlsx").Where(Function(w)Convert.ToDateTime(New FileInfo(w).LastModifiedDate).ToShortDateString.Equals(Today.ToShortDateString)).FirstOrDefault()
Kind Regards,
Ashwin A.K
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.