JSFiddle - React, Tailwind, and code Playground

JavaScript

var TodaysDate = new Date().toDateString();
alert(TodaysDate);