[PHP-DEV] PHP 4.0 Bug #6903: error with mktime function From: andrew <email protected>
Date: 09/27/00

From: andrew <email protected>
Operating system: Redhat 6.0
PHP version: 4.0.2
PHP Bug Type: Date/time related
Bug description: error with mktime function

The two following uses of the mktime function return entirely different values:

  mktime ("12","00","00","09","27","2000");
  mktime (12,00,00,09,27,2000);

The first returns "Sep-27-2000" as it should, but the second returns "Dec-27-1999" which is completely wrong. If I enter variables as the arguments, that works fine. It only seems to not work when the arguments aren't in double quotes.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>