strange behaviour with strtotime()
| From: | James Benson | Date: | Tue, 31 Jan 2006 11:23:52 +0000 |
| Subject: | strange behaviour with strtotime() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229521@lists.php.net to get a copy of this message | ||
Im encountering some very weird behaviour when using the following:-
echo date("M", strtotime("next month"));
outputs: Mar
while
echo date("r",time());
outputs: Tue, 31 Jan 2006 11:21:47 +0000
anyone know why?
---------------------------------------------------------
Master CIW Designer http://www.ciwcertified.com
Zend Certified Engineer http://www.zend.com
http://www.jamesbenson.co.uk
---------------------------------------------------------