Re: Date Formatting in PHP
| From: | CPT John W. Holmes | Date: | Tue, 10 Jun 2003 21:46:45 +0000 |
| Subject: | Re: Date Formatting in PHP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28510@lists.php.net to get a copy of this message | ||
> I have a simple need to reformat a variable coming in as $DatePick,
brought
> forward from a MySQL select in the format:
>
> 2003-11-18
>
> I need to convert it to the format
>
> November 18, 2003
$f_date = date('F d, Y',strtotime($db_date));
---John Holmes...