I guess you want to make an animated clock.
Don't use a loop to animate, use a timer instead. pay attention to the way you set the timer to prevent time sliding.
How To JS Animate[
^]
[Update]
Quote:
the reference you've given does not meet my question's reply nor meaning
First of all the wording of your question is not clear.
time
have no meaning in the context and it is the key word of the question.
Second, you want to apply to JS a solution that doesn't exist in JS.
Third, posting your code would have help understand what you are trying to do, but you didn't.