JSFiddle - React, Tailwind, and code Playground
by jabley
HTML
<div id="dateOutput"></div>
JavaScript
document.getElementById("dateOutput").innerText = new Date("2012-02-02");
by jabley
<div id="dateOutput"></div>
document.getElementById("dateOutput").innerText = new Date("2012-02-02");