Bug #15061: strtotime
| From: | info at altamiranet dot com | Date: | Wed, 16 Jan 2002 00:54:50 +0000 |
| Subject: | Bug #15061: strtotime | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-77186@lists.php.net to get a copy of this message | ||
From: info@altamiranet.com
Operating system: linux
PHP version: 4.0.5
PHP Bug Type: Date/time related
Bug description: strtotime
result from following operation is 23 hours instead of expected 24:
echo ((StrToTime ('02-04-01') - StrToTime ('02-03-31')) / 3600)
everything seems to work, for example, in this case:
echo ((StrToTime ('02-04-02') - StrToTime ('02-04-01')) / 3600)
--
Edit bug report at: http://bugs.php.net/?id=15061&edit=1