note 100309 deleted from datetime.formats.relative by danbrown
| From: | danbrown@php.net | Date: | Thu, 07 Oct 2010 16:06:44 +0000 |
| Subject: | note 100309 deleted from datetime.formats.relative by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173056@lists.php.net to get a copy of this message | ||
Note Submitter: Alain Dubrulle (lyra-network.com)
----
The behaviour of strtotime('today') may vary with the version of php.
Observed with php5.3.0 : it gives the timestamp of today at 00:00. With php4.4.9 it returns the
current timestamp (like 'now').
Use 'today 00:00' to get a standard behaviour.