#38419 [Fbk->Opn]: date function error

From: Date: Mon, 14 Aug 2006 07:50:44 +0000
Subject: #38419 [Fbk->Opn]: date function error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-100748@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: Feedback +Status: Open Bug Type: Date/time related Operating System: WindowsXP PHP Version: 5.1.4 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 .. ? ------------------------------------------------------------------------ [2006-08-11 03:21:58] reggiemb at hotmail dot com Description: ------------ It suppose to be returning the current system datetime, but always return 1 hour ahead of the system datetime.. System running on Apache/2.0.58 (Win32)... Reproduce code: --------------- date('l jS \of F Y g:ia'); ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38419&edit=1

« previous php.bugs (#100748) next »