#43133 [Com]: Mktime bug

From: Date: Tue, 30 Oct 2007 00:14:32 +0000
Subject: #43133 [Com]: Mktime bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-119050@lists.php.net to get a copy of this message
ID: 43133 Comment by: carsten_sttgt at gmx dot de Reported By: machineextractor at yahoo dot com Status: Open Bug Type: PHP options/info functions Operating System: Windows Xp PHP Version: 5.2.4 New Comment: "mktime(0, 0, 0, 3, 0, 2040)" is out of the range of a valid unix timestamp. This call returns FALSE here (PHP-CLI 5.2.4 /XP), which is correct. You are using more functions then mktime()? Regards, Carsten Previous Comments: ------------------------------------------------------------------------ [2007-10-29 23:39:07] machineextractor at yahoo dot com Description: ------------ The function maketime has a bug If i want to know how many days are in february 2040 the function return 31. february does not have more than 29 days ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43133&edit=1

« previous php.bugs (#119050) next »