Maybe this could be to any help; http://jsfiddle.net/speakman/8GX7J/
If you "calibrate" against the server, you could use the client clock to make it pretty accurate. / D 2011/4/1 Hans Peter <[email protected]>: > Hi, > im trying to build a accurate countdown clock. are there any best > practices you could recommend? > > Is it even possible to have a 100% accurate timer? (server latency > etc..) > > my approach would be to get the time from the server on page load and > sync it again after mabye one minute. > > thanks for the input > > pete > > > -- > To view archived discussions from the original JSMentors Mailman list: > http://www.mail-archive.com/[email protected]/ > > To search via a non-Google archive, visit here: > http://www.mail-archive.com/[email protected]/ > > To unsubscribe from this group, send email to > [email protected] > -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
