Hi!

> As more and more site/services are being hosted in the cloud, allowing
> requests to be handled locally geographically, in different timezones,
> does it make ANY sense in setting a timezone at all other than UTC?

There's no relation between location of the server/site and the
timezone. If your site is meant to serve specific timezone, it makes
sense to set it to that timezone.

> From what I can see, a server (which may not be under our control) COULD
> have pretty much any time and/or timezone on it. So even if we DO set a
> timezone in PHP, the time could still be out and that really isn't a
> good thing.

If you do not control your server, the whole discussion is moot as you
can not do anything about TZ settings.

> sourced process to determine where in the world the server is (I have
> access to servers all over Europe. I don't know the timezones that they
> are all in initially and had to work to confirm that the machine

TZ setting is not meant to be the timezone the server is physically in.
TZ setting is meant to be the timezone that your site is serving. Of
course, if the site is meant to serve multiple zones, then UTC may be
appropriate. But if your site is a local shop in Elbonia, then all your
times would be appropriate to Elbonian timezone, because all activities
are done with regard to this timezone.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to