#32015 [Opn->Fbk]: StrtoTime Function Giving Different Timestamps in different versions

From: Date: Fri, 18 Feb 2005 08:06:20 +0000
Subject: #32015 [Opn->Fbk]: StrtoTime Function Giving Different Timestamps in different versions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-74256@lists.php.net to get a copy of this message
ID: 32015 Updated by: derick@php.net Reported By: rj at meadowbrook dot net -Status: Open +Status: Feedback Bug Type: *Calendar problems Operating System: Linux PHP Version: 5.0.2 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-02-18 04:09:34] rj at meadowbrook dot net Description: ------------ The exact same function produces two different timestamp results: PHP 4.3.2 strtotime('12/01/04 9:00 AM'); produces 1101909600 PHP 5.0.2 strtotime('12/01/04 9:00 AM'); produces 1101909622 Any combination produces a result 22 seconds less in 5.0.2 that the result in 4.3.2 Reproduce code: --------------- n/a Expected result: ---------------- n/a Actual result: -------------- n/a ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32015&edit=1

« previous php.bugs (#74256) next »