Dotan Cohen wrote:
On 03/11/06, André Medeiros <[EMAIL PROTECTED]> wrote:
The 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?

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

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to