shedokan Posted December 6, 2007 Share Posted December 6, 2007 How can I create a server time clock that updates every second? Quote Link to comment Share on other sites More sharing options...
PHP_PhREEEk Posted December 6, 2007 Share Posted December 6, 2007 Search for a javascript solution. PHP cannot make a 'running' clock, but can make a clock that updates on page refresh. If you want a real time 'ticking' clock, javascript is the way to go... PhREEEk Quote Link to comment Share on other sites More sharing options...
shedokan Posted December 6, 2007 Author Share Posted December 6, 2007 I knowbut javascript is based on user's time bt I want server's time. Quote Link to comment Share on other sites More sharing options...
dennismonsewicz Posted December 6, 2007 Share Posted December 6, 2007 look into incorporating PHP with Javascript Quote Link to comment Share on other sites More sharing options...
twsowerby Posted December 6, 2007 Share Posted December 6, 2007 I did once stumble across a website that detailed a script for using the server time as a method of calculating local times around the world compared to the location of the server. Will trya nd dig up the link, maybe it will help....http://www.dynamicdrive.com/dynamicindex6/localtime.htm Tom Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.