michoel
12/16/2016, 1:10 AMvar startDate = format.format({ value: moment().subtract(1, 'months').startOf('month').toDate(), type: format.Type.DATE });
var statementDate = format.format({ value: moment().subtract(1, 'months').endOf('month').toDate(), type: format.Type.DATE });