Date: 11/23/98
- Next message: Bug Database: "[PHP-DEV] Bug #948 Updated: mktime returns incorrect datestamps when passed months like 09 instead of 9"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: cmlambertus <email protected>
Operating system: Solaris 2.6
PHP version: 3.0.5
PHP Bug Type: Misbehaving function
Bug description: mktime returns incorrect datestamps when passed months like 09 instead of 9
while writing a small mysql query module i discovered
that calling mktime(0,0,0,09,0,1998) instead of
mktime(0,0,0,9,0,1998) reported a very incorrect
timestamp of 880876800. calling it with 9 instead of
09 returned the correct timestamp as verified by
C ctime().
-chris
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #948 Updated: mktime returns incorrect datestamps when passed months like 09 instead of 9"
- Previous message: rasmus: "[PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

