Add days into a date

Hi 
I want to run a script that accepts the start date and end date from command line. Usually the script runs from 4 days behind from today to till date. I am able to get the today’s date using $Server.Now.Format(“yyyy-MM-dd”)$. I want to deduct 4 days from the now date and set that value to a configuration variable. I am not sure how to achieve that.

I don’t there is anything in the current release to do that using expressions. Your best bet might be to run a finalbuilder script or a powershell script to do the date manipulation and then pass it on to the process you want to run. You can set Continua CI variables from scripts using formatted output - http://wiki.finalbuilder.com/displa…g+Messages