<html>
<head>
<title>Javascript Date Time Demo</title>
</head>
<body>
<div style="padding:50px;">
<div id="demoDate"></div>
</div>
</body>
<script>
var currDate = new Date();
document.getElementById("demoDate").innerHTML = currDate;
</script>
</html>
Copyrights@tutorialsplane.com