#35201 [Opn]: date_default_timezone_set() doesn't work with date(), gmdate()

From: Date: Sat, 12 Nov 2005 17:01:36 +0000
Subject: #35201 [Opn]: date_default_timezone_set() doesn't work with date(), gmdate()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88073@lists.php.net to get a copy of this message
ID: 35201 User updated by: lunter at interia dot pl Reported By: lunter at interia dot pl Status: Open -Bug Type: *General Issues +Bug Type: Date/time related Operating System: winXP PHP Version: 5.1.0RC4 New Comment: Category: *General Issues => Date/time related Previous Comments: ------------------------------------------------------------------------ [2005-11-12 17:57:19] lunter at interia dot pl Description: ------------ date_default_timezone_set() doesn't work with date(), gmdate() Reproduce code: --------------- <? date_default_timezone_set('Europe/Warsaw'); print(date('U').'<br>'); print(gmdate('U').'<br>'); ?> Expected result: ---------------- Different values. Actual result: -------------- The same values. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35201&edit=1

« previous php.bugs (#88073) next »