Javascript setTimeOut function is not matched the time with Timer of Windows application in .net?
I am working one of windows application in C#.Net and one of web application. I used Timer control on windows application and using SetTimeOut() function in web application. But when I run both then after 1 or 2 minutes shown less seconds then windows application time. 

using Java script code like 

setInterval(function () { TimerDisplay(hour, min, sec, id); }, 1000);

Please give suggestion if anyone has idea. Thanks in advance.
Javascript setTimeOut function is not matched the time with Timer of Windows application in .net?
===

I am working one of windows application in C#.Net and one of web application. I used Timer control on windows application and using SetTimeOut() function in web application. But when I run both then after 1 or 2 minutes shown less seconds then windows application time. 

using Java script code like 

setInterval(function () { TimerDisplay(hour, min, sec, id); }, 1000);

Please give suggestion if anyone has idea. Thanks in advance.