Returns a new CalculationDate relative to the CalculationDate by the number of units, which can be days, weeks, months or years, etc. 

var date = now.valueOf('2017-03-15'); // a Wednesday

var before = date.minus(1, ‘day’);

console.log('before = %s', before);

//before = 2017-03-14 00:00:00
Did this answer your question?