On Mon, 2009-01-26 at 21:13 +, c...@l-i-e.com wrote:
> > I'll add that if you went the JS route, then it would just be
> > replicating the system time, ie replicating the Windows clock.
>
> Actually, I did this thing once where I included the server time from PHP in
> the JS, then calculate
> I'll add that if you went the JS route, then it would just be
> replicating the system time, ie replicating the Windows clock.
Actually, I did this thing once where I included the server time from PHP in
the JS, then calculate the difference, then use JS to show the actual current
"time"
>...
I'll add that if you went the JS route, then it would just be
replicating the system time, ie replicating the Windows clock. Unless
you decided to go the AJAX route (?!). But like Edmund said
(inferred), it's a waste of time (...).
--
Richard Heyes
HTML5 Graphing for Firefox, Chrome, Opera
2009/1/26 Gary
> I have a small php snippet in a page that displays the time and date. Is
> there a way to have the time to update every minute so that it displays the
> correct time, andnot just the time that the page was loaded?
>
> Thanks
>
> Gary
>
Hey Gary,
because of how php works this i
I have a small php snippet in a page that displays the time and date. Is
there a way to have the time to update every minute so that it displays the
correct time, andnot just the time that the page was loaded?
Thanks
Gary
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
5 matches
Mail list logo