Timezone, PHP, relative
I'm in the UK. But my server is based in the US of A, Dallas, Texas. OK. I'm unsure about the date.timezone settings in php.ini. Do I set it to America or UK?
// London, England, Europe
date.timezone = "Europe/London"
date.default_latitude = 51.500181
date.default_longitude = -0.12619
There's no "best" setting to choose, but I would tend to leave the PHP setting at its default - in synch with the server setting (for file datestamps, etc.), unless you have a specific reason to change it for your scripts. For example, if your site is an online store where things like date of purchase are important, then it would be a good idea to use "Europe/London" so that your orders reflect your store's dates and times. So, it's up to you to choose.
Originally Posted by rtrethewey
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)