HTML - JavaScript - button to Display Date and Time
HTML - JavaScript - button to Display Date and Time
HTML - JavaScript - button to Display Date and Time
<!DOCTYPE html>
<html>
<body>
<h1>TutorialsLink Community</h1>
<button type="button"onclick="document.getElementById('ttlk').innerHTML = Date()">
Click here to display Date and Time.</button>
<p id="ttlk"></p>
</body>
</html>