Aapka Apna blog jo kre apki problem Solve

www.technicaldestination.blogspot.com

This website helps you to solve hacking problems

www.technicaldestination.blogspot.com

My blog help to users to solve hacking and programming errors.

www.technicaldestination.blogspot.com

if you see hacking news then follow me on instagram facebook blogger and youtube.

Showing posts with label Display Date and Time with javascript. Show all posts
Showing posts with label Display Date and Time with javascript. Show all posts

Saturday, 6 July 2019

Display Date and Time with javascript

Display Date and Time with javascript




 Code here


 <!DOCTYPE html>

 <html>

 <head>

  <title> Date And Time</title>

 </head>

 <body>

 

  <h1> Display Date And Time with Javascript</h1>


 <button onclick="document.getElementById('demo').innerHTML= Date()"> Display Date And Time</button>


  <p id="demo"></p>

 </body>

 </html>


Share:
loading...