Bug #4144: mktime() returns false value since 27th March 2000
| From: | Istvan dot Czeh at uti dot hu | Date: | Fri, 14 Apr 2000 08:21:29 +0000 |
| Subject: | Bug #4144: mktime() returns false value since 27th March 2000 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-17900@lists.php.net to get a copy of this message | ||
From: Istvan.Czeh@uti.hu
Operating system: Debian Linux 2.1,2.2
PHP version: 3.0.16
PHP Bug Type: Other
Bug description: mktime() returns false value since 27th March 2000
I think I discovered a bug. If it's so, than it's a really strange bug. Until 26th March
2000, mktime() returns the right value, but since 27th of March it returns a false value.
the following simple script should return 86400 (one day in seconds), but it returns 82800. (one
hour less):
echo (mktime(0,0,0,3,27,2000) - mktime(0,0,03,26,2000));
before 27th March 2000 there is no problem:
echo (mktime(0,0,0,3,26,2000) - mktime(0,0,03,25,2000))
returns 86400.
The bug was discovered in the version 3.0.12. Today I downloded 3.0.16, but it still has the
problem.