ID: 15061 Updated by: jimw Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]