Get excel files based on modified date

i need get all excel files that are date modified is today ?

what ?

@yusufs.adi,

Try with the following code

Directory.GetFiles("path_to_directory").Where(Function(x) New FileInfo(x).CreationTime.Date = DateTime.Today.Date)

Hi @Jersey_Practical_Sho

Check this

Thanks
Ashwin S

@yusufs.adi,

To filter only xlsx files you can try with the following code.

Directory.GetFiles("path_to_directory", "*.xlsx").Where(Function(x) New FileInfo(x).CreationTime.Date = DateTime.Today.Date)

sorry i don’t know about function(x)

@yusufs.adi,

Thats LINQ functionality, you can check this xaml and try like that.
GenerateAttachmentFile.xaml (4.5 KB)