Bug #725: gmdate returns date that is 12 hours off (from west of GMT)

From: Date: Sun, 06 Sep 1998 17:56:30 +0000
Subject: Bug #725: gmdate returns date that is 12 hours off (from west of GMT)
Groups: php.dev 
Request: Send a blank email to php-dev+get-837@lists.php.net to get a copy of this message
From: cooper@cooper8.com Operating system: BSD/OS 3.0, SunOS 5.5.1 PHP version: 3.0.3 PHP Bug Type: Misbehaving function Bug description: The script that produces the problem for me: <? system('date') ?> <p> <? system('date -u') ?> <p> <? print date('l, d-M-y h:i:s') ?> <p> <? print gmdate('l, d-M-y h:i:s') ?> <p> The output on my system (central daylight time): Sun Sep 6 12:56:02 CDT 1998 Sun Sep 6 17:56:02 GMT 1998 Sunday, 06-Sep-98 12:56:02 Sunday, 06-Sep-98 05:56:02 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#837) next »