¡@

Home 

javascript Programming Glossary: window.start

compute elapsed time [duplicate]

http://stackoverflow.com/questions/1210701/compute-elapsed-time

title script type text javascript function display_c start window.start parseFloat start var end 0 change this to stop the counter at.. value var refresh 1000 Refresh rate in milli seconds if window.start end mytime setTimeout 'display_ct ' refresh else alert Time.. Calculate the number of days left var days Math.floor window.start 86400 After deducting the days calculate the number of hours..