Exercise:

Create a Date object to display the current date and time.

Hint: Use the new Date() constructor.

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © w3schools.com