Duration: 16 minutes
Summary: In this video, we will discuss the use of setInterval(). This is an important functionality that comes vary handy when you need to do something over and over again after a certain time has elapsed. You can for example use this feature when timing a user for an exam. in our case, we will use setInterval() to call a function named DisplayTime() every 1 second. We will use the Date object to get the current time, then display that time in the status bar and the title bar of the window.Methodology of the development of example: .