Demonic Posted July 7, 2008 Share Posted July 7, 2008 No one has yet to make a script which has to do with time zones and locations. Servers had different time zones, and people have different time zones, I want to see a tutorial on how to manage time zones based on your current time and getting around server times to get the correct offset. Thanks for reading. Quote Link to comment https://forums.phpfreaks.com/topic/113527-not-really-help-more-of-a-suggested-tutorial-for-phpfreaks/ Share on other sites More sharing options...
revraz Posted July 7, 2008 Share Posted July 7, 2008 I just use a simple Offset variable and let the users manage that value themself. Pretty simple and not really sure why a Tutorial would be required for it. Quote Link to comment https://forums.phpfreaks.com/topic/113527-not-really-help-more-of-a-suggested-tutorial-for-phpfreaks/#findComment-583605 Share on other sites More sharing options...
corbin Posted July 7, 2008 Share Posted July 7, 2008 http://php.net/date_default_timezone_set Or, like revraz said, just an offset. $offset = -5 * 3600; //GMT -5 gmdate('', time() + $offset); Quote Link to comment https://forums.phpfreaks.com/topic/113527-not-really-help-more-of-a-suggested-tutorial-for-phpfreaks/#findComment-583694 Share on other sites More sharing options...
Demonic Posted July 8, 2008 Author Share Posted July 8, 2008 yeah i figured it out, I used to always get tat confused with the "date" function Quote Link to comment https://forums.phpfreaks.com/topic/113527-not-really-help-more-of-a-suggested-tutorial-for-phpfreaks/#findComment-584193 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.