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:) 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'); 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:) 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) Link to comment https://forums.phpfreaks.com/topic/183970-question-about-date/#findComment-971158 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.