/*let answer = mdArray.find(el=> el.date == moment(da, 'YYYY-MM-DD').format('MMMM Do YYYY'));*/ Inside of moment, you add your date object(can be in many formats).