sivanath.nagendran Posted December 2, 2006 Share Posted December 2, 2006 Hi I am newbie to MySQL. Can anyone pls tell me How to Print the Current Local System Time in top of my Web page. is this possible?Thanks for helpBy Sivanath.N Quote Link to comment https://forums.phpfreaks.com/topic/29253-current-local-system-time-problem/ Share on other sites More sharing options...
AndyB Posted December 2, 2006 Share Posted December 2, 2006 You can't use a server-side language to display a user's local time. Only javascript can do that (and there's no guarantee they have the time set right).php can display the 'local time' on the server (where php executes). Quote Link to comment https://forums.phpfreaks.com/topic/29253-current-local-system-time-problem/#findComment-134081 Share on other sites More sharing options...
fenway Posted December 3, 2006 Share Posted December 3, 2006 And note that this may have little to do with the DB time if they're on different boxes. Quote Link to comment https://forums.phpfreaks.com/topic/29253-current-local-system-time-problem/#findComment-134499 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.