ID:               29759
 Updated by:       [EMAIL PROTECTED]
 Reported By:      peter at peterbengtson dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Date/time related
 Operating System: Mac OS X 10.3
 PHP Version:      5.0.0
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Duplicate of http://bugs.php.net/bug.php?id=28209


Previous Comments:
------------------------------------------------------------------------

[2004-08-19 16:05:20] peter at peterbengtson dot com

Description:
------------
strtotime('now') seems to return a different result in 
PHP5 than in PHP4. It used to return the current 
timestamp, but in PHP5 it seems to return the a 
timestamp representing the current date at 00:00:00. 
Thus it is now necessary to check explicitly for 'now' 
and substitute it with the value of time(). The 
documentation link does not explain this change in 
behaviour, unfortunately. 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29759&edit=1

Reply via email to