Bug #1319: mktime() expects computer system time to be set to GMT

From: Date: Fri, 16 Apr 1999 02:13:12 +0000
Subject: Bug #1319: mktime() expects computer system time to be set to GMT
Groups: php.dev 
Request: Send a blank email to php-dev+get-5085@lists.php.net to get a copy of this message
From: bigmike@bigmweb.com Operating system: NT4.0 and Solaris 6.0 PHP version: 3.0.6 PHP Bug Type: Misbehaving function Bug description: mktime() expects computer system time to be set to GMT See http://www.bigmweb.com/test/date2timestamp.php3 for an example and explanation. The computers that this example runs on(NT 4.0 -- PHP 3.0.6 -- address www.bigmweb.com...) and (Solaris 2.6 -- PHP 3.0.0 -- address www2.bigmweb.com...) are set to GMT -0500 (in Maryland, USA). This is exactly the amount of time that the function is off by. Source for the script is in "date2timestamp.phps" -- pretty on the UNIX box, plain on the NT box. I don't have access to the php.ini or other info, but you can run the script http://www.bigmweb.com/test/php_info.php3 on either computer to get most of that info. -- 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 (#5085) next »