The Date object lets you work with dates (years, months, days, hours, minutes, seconds, and milliseconds)
The Date object lets you work with dates (years, months, days, hours, minutes, seconds, and milliseconds) <!DOCTYPE html> <html> <body> <p id="demo"></p> <script> document.getElementById("demo").innerHTML = Date(); </script> </body> </html>