JSFiddle - React, Tailwind, and code Playground
by Alex Fogarty
HTML
<button onclick="ShowDateTime()">Click Here</button>
JavaScript
function ShowDateTime() { var dateVariable = new Date();
alert(dateVariable.toString());}
by Alex Fogarty
<button onclick="ShowDateTime()">Click Here</button>
function ShowDateTime() { var dateVariable = new Date();
alert(dateVariable.toString());}