Re: date to string
| From: | Chris | Date: | Fri, 02 Feb 2007 00:33:23 +0000 |
| Subject: | Re: date to string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-248178@lists.php.net to get a copy of this message | ||
John Taylor-Johnston wrote:
How do I take "2007-02-01" and turn it into Thursday, February 1, 2006?Use strtotime (http://php.net/strtotime) to turn it into a timestamp and then format it using date (http://php.net/date). -- Postgresql & php tutorials http://www.designmagick.com/