function subDays(date, days) {
    let {year, month, date: _date} = getParsedDate(date);
    return new Date(year, month, _date - days);
}
Subtract days from date
@param {Date} date
@param {Number} days
@return {Date}