Re: Format date
| From: | Mike Eheler | Date: | Mon, 15 Oct 2001 18:07:07 +0000 |
| Subject: | Re: Format date | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71123@lists.php.net to get a copy of this message | ||
echo date("Y-m-d", strtotime($data['datefield']));
Mike
Matthew Halpin wrote:
Hello, I have about 5 million records in a varchar field in mysql that look like 10-Jan-2001 I need to get them formated to appear as 2001-01-10 anyone have any ideas how I can go about this. Thanks Matthew Halpin