I have a requirement where a folder should be created in doc lib, with coming monday's date as the folder name.
and have different condition when the folders are getting created.
1. every time the user click the create button, the code should get the previously created folder name (which is a date) and create a folder with next coming monday date as the name.
2. if they don't exist any folder then the coming monday date should be the folder name.
Thank you.