Using variables within a function

I want to increment the current date by X months where X is the value of global variable [[varAddMonths]]

How do I use the value of X in the function[[Now.addMonths(months)]]?

I’ve tried[[Now.addMonths(varAddMonths)]] and[[Now.addMonths([[varAddMonths]])]]

I’m totally out of my depth and wondering if what I’m trying to do is even possible.

1 Like

Should work. If it doesn’t work make sure varAddMonths is actually a number.

Thanks…I think I missed one of the brackets but working now :slight_smile: