Re: Finding user's timezone
| From: | Stut | Date: | Fri, 03 Nov 2006 13:19:28 +0000 |
| Subject: | Re: Finding user's timezone | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244146@lists.php.net to get a copy of this message | ||
Dotan Cohen wrote:
On 03/11/06, André Medeiros <andre.caum@gmail.com> wrote:They're not the same thing. The date_default_timezone_set() function allows you to change the timezone that PHP will use. The 'T' option bypasses that setting and gets the timezone as set on the machine. Example: http://dev.stut.net/php/date.php -StutThe result of that function would depend on where the server is installed, not where the client is accessing it from, right?That's not what php.net/date implies: e: "Timezone identifier" T : "Timezone setting of this machine" If "T" is the timezone of the machine, then why have "e" if it's the same thing?