Demonic Posted January 28, 2008 Share Posted January 28, 2008 How could you create an accurate time stamp (GMT TIME e.g.:: -6 || -0600 GMT) if all servers time isn't the same? Quote Link to comment https://forums.phpfreaks.com/topic/88224-how-could-you-create-a-gmt-script-if-your-servers-time-is-always-different/ Share on other sites More sharing options...
tapos Posted January 28, 2008 Share Posted January 28, 2008 use date-default-timezone-set. http://www.php.net/manual/en/function.date-default-timezone-set.php Quote Link to comment https://forums.phpfreaks.com/topic/88224-how-could-you-create-a-gmt-script-if-your-servers-time-is-always-different/#findComment-451456 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.