note 77675 deleted from function.date-format by derick
| From: | derick@php.net | Date: | Tue, 13 May 2008 20:12:24 +0000 |
| Subject: | note 77675 deleted from function.date-format by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-139349@lists.php.net to get a copy of this message | ||
Note Submitter: anju
----
This function only works with php5. I had trouble when I was working with php4. This seems to work:
$formatteddate = strftime("%b %d, %Y", strtotime($yourdate));
This will give you result like Sep 06, 2007