
Announcements
Hello,
Every month I have to create a folder called P3 March 2023, P4 April, 2023, P5 May 2023 and so on... I already know how to do that. But most of the time I need to go back to the previous month. How I can tell the script to go back one month (or future date). I thought it was easy just to put -1, but it looks like I need to set up a bunch of code to do that. Since we're in April, I need to go back to the previous month P3 March 2023. Below is my script. Thank you!
Hi @TTC
I think this would help you
I added -1 to CurrentDateTime and store the resultant in same CurrentDateTime as in step 2
Hope it helps 🙂
Mark it as solution if it resolves your query 🙂