#22782 [NEW]: mktime funcktion fail
| From: | ameoba32 at riscom dot net | Date: | Wed, 19 Mar 2003 08:57:20 +0000 |
| Subject: | #22782 [NEW]: mktime funcktion fail | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-35913@lists.php.net to get a copy of this message | ||
From: ameoba32 at riscom dot net
Operating system: W2K
PHP version: 4.3.1
PHP Bug Type: Date/time related
Bug description: mktime funcktion fail
echo date("H:i:s d-m-Y", mktime(0,0,0,4,364,2002))."\n";
echo date("H:i:s d-m-Y", mktime(1,0,0,4,364,2002))."\n";
prints this result:
01:00:00 30-03-2003
01:00:00 30-03-2003
364 is magic day number :) all other days works perfect.
thank you.
--
Edit bug report at http://bugs.php.net/?id=22782&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22782&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22782&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22782&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22782&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22782&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22782&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22782&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22782&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22782&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22782&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22782&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22782&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22782&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22782&r=gnused