PDA

Click to See Complete Forum and Search --> : javascript countdown timer using server time


lleemon
Oct 24th, 2003, 03:55 PM
I have seen many javascript clocks online that count down to a day/month/year that you decide but all of these work off the clients os clock. I am looking for some code that will read the servers time so you can't change the clock and all browsers will basically read the same time counting down.

Thanks for any info you can provide.

CornedBee
Oct 26th, 2003, 05:04 AM
Use a server-side script to write the server's time into a JavaScript variable.