Need to check whether todays date folder is already created inside a path if so delete the folder and create a new one in assiged folder path.
Directory.Exists(Path.Combine("your path",Now.ToString("Your Format")))
Your format can be like this
“dd.MM.yyyy” - 12.10.2022
“dd/MM/yyyy” - 12/10/2022
“dd MMM yyyy”- 12 Oct 2022
and the skeleton will be like this
Kindly find the .Xaml file, you may get some idea.
FileDate.xaml (8.4 KB)
directory.getFiles(“your_file_path”).where(Function(f) file.GetCreationTime(f).ToShortDateString = today.ToShortDateString).OrderByDescending(function(f) file.GetCreationTime(f)).First
You can try this
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.