sinista Posted December 4, 2009 Share Posted December 4, 2009 if I echo date("His"); do I see the time on the host, or the time of my client pc? Thanks:) Quote Link to comment https://forums.phpfreaks.com/topic/183970-question-about-date/ Share on other sites More sharing options...
MadTechie Posted December 4, 2009 Share Posted December 4, 2009 Your see the HOST, servers time, This is because PHP is server based, for the clients time you can use javascript, BUT you can change the timezones on PHP date_default_timezone_set('America/Los_Angeles'); Quote Link to comment https://forums.phpfreaks.com/topic/183970-question-about-date/#findComment-971149 Share on other sites More sharing options...
sinista Posted December 4, 2009 Author Share Posted December 4, 2009 cheers Techie:) Quote Link to comment https://forums.phpfreaks.com/topic/183970-question-about-date/#findComment-971154 Share on other sites More sharing options...
MadTechie Posted December 4, 2009 Share Posted December 4, 2009 your welcome If solved please click topic solved (bottom left) Quote Link to comment https://forums.phpfreaks.com/topic/183970-question-about-date/#findComment-971158 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.