By Rituraj
This Project Focuses on the creation of a Dynamic clock according to local time which is very useful in using it on many websites.
The Project focuses on creating the Dynamic clock based on Local time and a button giving access to Stop the clock accordingly.
We are Using setInterval() method and clearInterval() method for this process.
The setInterval() method calls a function or evaluates an expression on specified intervals (in milliseconds).
The setInterval() method will continue calling the function until clearInterval() is called or the window is closed.
The ID value returned by setInterval() using DOM is used as the parameter for the clearInterval() method.
The clearInterval() method stops the executions of the function specified in the setInterval() method.
This Can Be Useful is many Websites for showing clock time dynamically.
Submitted by Rituraj (riturajoctober)
Download packets of source code on Coders Packet
Comments