Hi everyone, how to download tracker 31st august.xlsx format file

I want to download the todays file with format should be like Tracker 4th September.xlsx, can any one help me here…
@Gangadhar_Athili
@THIRU_NANI

Hi

welcome back to UiPath forum

you can try something like this in a ASSIGN activity
arr_filepath = System.IO.Directory.GetFiles(“your folderpath”, “Tracker*.xlsx”).where(Function(f) file.GetCreationTime(f).ToShortDateString = Today.ToShortDateString).OrderByDescending(function(f) file.GetCreationTime(f)).ToArray()

Cheers @panguluri_saritha

Hi @panguluri_saritha ,

Could you check with the below :

"Tracker "+Now.ToString("d MMMM")+".xlsx"

image

Did not add the implementation for th, st, etc… Suffixes. Let us know if that is also a requirement, so that we can suggest for it as well.

1 Like

thank you @supermanPunch , thats fine, just now confirmed with client…

@Palaniyappan thank you for the quick response…

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.