Re: [PHP] Set Timezone to localtime in php.ini

2005-11-18 Thread Marcus Bointon

On 16 Nov 2005, at 04:49, The Doctor wrote:


IS their a way to set the time to localtime instead of GMT in
the ini file?

Some users are complaining that they are seeing GMT, which this server
is set to.


If you use PHP 5.1, yes: http://www.php.net/manual/en/ref.datetime.php

Note the new date.timezone ini setting.

Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
[EMAIL PROTECTED] | http://www.synchromedia.co.uk

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



Re: [PHP] Set Timezone to localtime in php.ini

2005-11-16 Thread Curt Zirzow
On Tue, Nov 15, 2005 at 09:49:10PM -0700, The Doctor wrote:
 IS their a way to set the time to localtime instead of GMT in
 the ini file?

No.

 
 Some users are complaining that they are seeing GMT, which this server
 is set to.

What timezone are the users expecting the time to be displayed in?
Do they get to specify what TZ they are in?

For starters i would suggest looking into the setlocale() function.

Curt.
-- 

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



[PHP] Set Timezone to localtime in php.ini

2005-11-15 Thread The Doctor
IS their a way to set the time to localtime instead of GMT in
the ini file?

Some users are complaining that they are seeing GMT, which this server
is set to.

-- 
Member - Liberal International  
This is [EMAIL PROTECTED]   Ici [EMAIL PROTECTED]
God Queen and country! Beware Anti-Christ rising!
Happy Christmas 2005 and Merry New Year 2006 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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