How to set file name with contains today date?

@Dorothy_lee - Please try this…

 Directory.GetFiles(YourFolderpath,"AISTMTPRINT*.xlsx").where(function(d) new FileInfo(d).Name.Contains(now.tostring("yyyy-MM-dd")))(0)

My date is still 29 :wink:, so I have created file with May 29th date and it fetched correctly…

2 Likes