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());}