Digital timer in JS

I’m going to make a digital timer feature with javascript (maybe JQuery) and was wondering if anyone has some good links to get me thinking in the right direction… for example just a simple: every 4 seconds increment the time (in seconds) … struggling though to find anything suitable on this that can start me off…

_thanks all

thanks for that sarg >> useful… I’m actually trying to convert these in to timers that just count upto 100 when a button is clicked…if anyone has any ideas please step forward >> thanks

Here’s a simple to use count up timer i found

Here’s some nice starters i found

http://www.hitmill.com/programming/js/digitalClock.html
http://www.ricocheting.com/code/javascript/html-generator/digital-clock
http://www.radoslavdimov.com/jquery-plugins/jquery-plugin-digiclock/