note 96795 added to function.strtotime
| From: | AlexAustin at osu1 dot php dot net | Date: | Tue, 16 Mar 2010 16:18:54 +0000 |
| Subject: | note 96795 added to function.strtotime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-167097@lists.php.net to get a copy of this message | ||
Seems in PHP5 there are new values that can be passed to the function:
echo time();
echo '<br>';
echo strtotime('noon');
echo '<br>';
echo strtotime('midnight');
echo '<br>';
echo strtotime('10am');
echo '<br>';
echo strtotime('2pm');
I am sure there are more, strange that they did not make it to the manual...
----
Server IP: 192.41.40.227
Probable Submitter: 74.95.217.166
----
Manual Page -- http://www.php.net/manual/en/function.strtotime.php
Edit -- https://master.php.net/note/edit/96795
Del: integrated -- https://master.php.net/note/delete/96795/integrated
Del: useless -- https://master.php.net/note/delete/96795/useless
Del: bad code -- https://master.php.net/note/delete/96795/bad+code
Del: spam -- https://master.php.net/note/delete/96795/spam
Del: non-english -- https://master.php.net/note/delete/96795/non-english
Del: in docs -- https://master.php.net/note/delete/96795/in+docs
Del: other reasons-- https://master.php.net/note/delete/96795
Reject -- https://master.php.net/note/reject/96795
Search -- https://master.php.net/manage/user-notes.php