I need to compute the current month minus 1. For example if the current month is December (12) then I need to pass the value "11" via the variable. (The server uses month with Index 0.)
I can see how to use CurrentDate and also Date, but I can't see how to write an expression to manipulate the CurrentDate (ie MM-1).
Is it possible?
Yes, you can do this in JavaScript, I can provide an example tomorrow
You can use the CurrentDate variable like in the screen shot attached
Thanks Nouredine. I did try this yesterday but every iteration it applied the -1 again. So the first iteration but 11 then it was 10 then it was 9. I need it to stay at 11.
Maybe I am missing another setting that I don't know about?
I do not reproduce that behavior. Could you provide some screen shots of your variable and where/how you use it?
Hi. My mistake. Your dropdown said "Month" whereas mine was more frequent. Thanks for your clear response! It now works.