Re: function.date.php
| From: | Adam Bregenzer | Date: | Wed, 25 Feb 2004 20:59:04 +0000 |
| Subject: | Re: function.date.php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178887@lists.php.net to get a copy of this message | ||
On Wed, 2004-02-25 at 15:58, John Taylor-Johnston wrote:
> I want to feed in 2003-02-28 and extract February 28, 2003. I can substr it out ...
Use strtotime[1] then date[2].
[1] http://www.php.net/strtotime
[2] http://www.php.net/date
--
Adam Bregenzer
adam@bregenzer.net
http://adam.bregenzer.net/