Bug #3318: MKTIME

From: Date: Wed, 26 Jan 2000 15:23:24 +0000
Subject: Bug #3318: MKTIME
Groups: php.dev 
Request: Send a blank email to php-dev+get-14930@lists.php.net to get a copy of this message
From: f.cervenka@comcity.de Operating system: linux (suse 2.0.36 / slackware 2.2.12) PHP version: 3.0.12 PHP Bug Type: Misbehaving function Bug description: MKTIME <?php // Check out this sample... // ..mktime returns -1 echo ( date ( "M-d-Y", mktime ( 2, 0, 0, 3, 26, 2000 ) ) . " ( should be 03-26-2000, 2:00am )<br>" ); echo ( date ( "M-d-Y", mktime ( 2, 0, 0, 3, 25, 2001 ) ) . " ( should be 03-25-2001, 2:00am )<br>" ); ?>

« previous php.dev (#14930) next »