Bug #14863 Updated: When using the gmDate() function, the time/date is 8 hours ahead

From: Date: Sat, 05 Jan 2002 16:32:26 +0000
Subject: Bug #14863 Updated: When using the gmDate() function, the time/date is 8 hours ahead
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-75955@lists.php.net to get a copy of this message
ID: 14863 Updated by: derick Reported By: bryannisperos@hotmail.com Old Status: Open Status: Bogus Bug Type: Date/time related Operating System: Win2k Pro PHP Version: 4.1.1 New Comment: Ofcouurse it does. I expect that your timezone differs 8 houurs from GMT. And gmdate shows the time in GMT. Not a bug, Derick Previous Comments: ------------------------------------------------------------------------ [2002-01-04 20:10:47] bryannisperos@hotmail.com Problem: When using the gmDate() function, the time/date is 8 hours ahead of the system clock. Script: The date is <?php echo gmDate("l, M d Y, h i a"); ?> Result: The date is Saturday, Jan 05 2002, 01 06 am Should have been: The date is Friday, Jan 04 2002, 05 06 pm ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14863&edit=1

« previous php.dev (#75955) next »