Skip to content
Advertisement

Auto update date and time [closed]

I would like to make the current date and time in a div element in html update automatically. Is there a way I can do this? I do know that I can update it by clicking on a button.

Advertisement

Answer

You can do this:

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement