JSFiddle - React, Tailwind, and code Playground

JavaScript

const objDate = new Date("2022-03-04");
const monthFullName = objDate.toLocaleString('default', { month: 'long' });
const year = objDate.getFullYear();
const day = objDate.getDay()
const result = monthFullName + " " + day +"," + year;
// test
console.log(result);