Bug #15061 Updated: strtotime

From: Date: Wed, 16 Jan 2002 01:29:12 +0000
Subject: Bug #15061 Updated: strtotime
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77192@lists.php.net to get a copy of this message
ID: 15061 Updated by: jimw Reported By: info@altamiranet.com Old Status: Open Status: Bogus Bug Type: Date/time related Operating System: linux PHP Version: 4.0.5 New Comment: daylight savings time. Previous Comments: ------------------------------------------------------------------------ [2002-01-15 19:54:50] info@altamiranet.com 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 this bug report at http://bugs.php.net/?id=15061&edit=1

« previous php.dev (#77192) next »