ID: 33920 Updated by: [EMAIL PROTECTED] Reported By: php-work at yandex dot ru -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Windows XP SP2 PHP Version: 5CVS-2005-07-29 (dev) New Comment:
Probably your TZ environment var is set to GMT. So, you need to use the date_default_timezone_set() function to overide it. Previous Comments: ------------------------------------------------------------------------ [2005-07-29 19:22:54] php-work at yandex dot ru Tried, no effect. ------------------------------------------------------------------------ [2005-07-29 18:14:20] [EMAIL PROTECTED] Set the timezone in php.ini using date.timezone setting. ------------------------------------------------------------------------ [2005-07-29 16:37:50] php-work at yandex dot ru Description: ------------ Code: <?php echo date("r"); ?> print Fri, 29 Jul 2005 14:22:56 +0000, but stated time zone: (GMT+03:00) Moscow. I tried to use other time zone, setlocale, but result is not changed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33920&edit=1