Thursday, March 29, 2012

Server side live clock

I know that we can build a live clock in the web form using Javascript. But i understand that the clock is refer to the user system clock..

May I build a live clock that the time is refer to the server clock?

Can ASP do it like tat?Get the server clock in a javascript variable on the page and then increase this each second. You then have a live clock but with the server hour.

Tip : use the javascript clock but initialize it with the time value you got from server.
Okok.. I got your idea. Thanks alot.

0 comments:

Post a Comment