How to get current date in javascript
home
Run
screen_rotation
fullscreen
cloud_download
navigate_next
<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>
<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