howt to convert 2020-02-01T08:54:07.284Z to date in javascript react

JavaScript
//origin
const today = Date.now();

console.log(new Intl.DateTimeFormat('en-US', {year: 'numeric', month: '2-digit',day: '2-digit', hour: '2-digit', minute: '2-digit', second: '2-digit'}).format(today));
//my example:
//here, date is a string which we get from backend api. It is like this: "2020-02-01T08:54:07.284Z"
handleDateFormat = (date) => {
    var oldDate = new Date(date);
    var formattedDate = new Intl.DateTimeFormat('en-US', { year: 'numeric', month: '2-digit', day: '2-digit' }).format(oldDate);
    // console.log(formattedDate);
    return formattedDate;
  }
Source

Also in JavaScript: