How to get current date in javascript
home
Run
screen_rotation
fullscreen
cloud_download
navigate_before
<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.toDateString(); </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.toDateString(); </script> </html>
Copyrights@tutorialsplane.com