note 96795 modified in function.strtotime by thiago
| From: | thiago@php.net | Date: | Thu, 18 Mar 2010 02:53:04 +0000 |
| Subject: | note 96795 modified in function.strtotime by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-167162@lists.php.net to get a copy of this message | ||
Seems in PHP5 there are new values that can be passed to the function:
<?php
echo time();
echo '<br>';
echo strtotime('noon');
echo '<br>';
echo strtotime('midnight');
echo '<br>';
echo strtotime('10am');
echo '<br>';
echo strtotime('2pm');
?>
--was--
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...
http://php.net/manual/en/function.strtotime.php