|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-08-19 16:32 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Mar 25 23:00:01 2026 UTC |
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.