How to open folder based on date today with format(date today folder format YYYYMMDD)

How to open folder based on date today
folder date format (YYYYMMDD)

So your folder named as “20210603” ??

yess sir @prasath17

@Vincent_Nuestro - Please try as shown below…

StrArrFolder = Directory.GetDirectories("YourFolderPath",Now.tostring("yyyyMMdd"))

Here StrArrFolder is stringArray variable type.

1 Like

hi sir @prasath17
I got an error

@Vincent_Nuestro - that is not the syntax I have provided…Your Folderpath should be coded inside the Directory.getdirectories

Please check the syntax here…