Date: 10/15/01
- Next message: Jason G.: "Re: [PHP] Switch syntax"
- Previous message: Tom Carter: "Re: [PHP] CACHE"
- In reply to: Matthew Halpin: "[PHP] Format date"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jason G.: "Re: [PHP] Switch syntax"
- Previous message: Tom Carter: "Re: [PHP] CACHE"
- In reply to: Matthew Halpin: "[PHP] Format date"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

