uipath get latest file from a folder

Directory.GetFiles(folder_path,”*.xlsx”,SearchOption.AllDirectories).OrderByDescending(Function(d) New FileInfo(d).CreationTime).Tolist(0) This will give you full path of the latest file To get…

uipath string array

You should use curly brackets in order to create an array.¬†For example: {“January”,”February”,”March”,”April”….}

uipath : usefull funcitons

String split fucntions Split(variable.tostring,”not”) String to Date and then day DateTime.Parse(Split(item.ToString,”(“)(0)).ToString(“dd”)