$time = "2020-11-20 00:00:00"; $res = (new Carbon)->setTimeFromTimeString($time)->addMonths(-10)->toDateTimeString();