On Sun, 17 Mar 2002, Leif K-Brooks wrote:
> Right now, I have a static server time clock on my page, produced by date().
> I would like to make it move, and I was wondering if anyone has code that
> returns the server time to javascript to animate it or something? 

Are you particularly concerned about super precision?

If not, why not just output the JavaScript via PHP with the server time in 
a variable, then you can have your JavaScript calculate the delta against 
client PC time, and output the current time on an ongoing basis from 


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to