#38419 [Bgs]: date function error
| From: | reggiemb at hotmail dot com | Date: | Tue, 15 Aug 2006 07:47:34 +0000 |
| Subject: | #38419 [Bgs]: date function error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-100816@lists.php.net to get a copy of this message | ||
ID: 38419
User updated by: reggiemb at hotmail dot com
Reported By: reggiemb at hotmail dot com
Status: Bogus
Bug Type: Date/time related
Operating System: WindowsXP
PHP Version: 5.1.4
New Comment:
set the date.timezone in the php.ini, everything seems to be ok now,
had the same problem in a linux box, see if it fix the same problem...
Previous Comments:
------------------------------------------------------------------------
[2006-08-14 07:59:45] derick@php.net
The setting is:
America/Chicago
If that is not correct (and I doubt it is), then fix it in php.ini
according to the list in the manual
(http://php/manual/en/timezones.america.php).
------------------------------------------------------------------------
[2006-08-14 07:50:43] reggiemb at hotmail dot com
Extracted from phpinfo() output:
date/time support enabled
Timezone Database Version 2006.1
Timezone Database internal
Default timezone America/Chicago
Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value
------------------------------------------------------------------------
[2006-08-14 05:22:53] derick@php.net
Tony asked for the date.timezone *php* setting. Check the phpinfo()
output.
------------------------------------------------------------------------
[2006-08-14 02:07:05] reggiemb at hotmail dot com
(GMT -6:00) Central America Standard Time
------------------------------------------------------------------------
[2006-08-11 08:19:51] tony2001@php.net
And your date.timezone is .. ?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/38419
--
Edit this bug report at http://bugs.php.net/?id=38419&edit=1