"Kit Kerbel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I would like to convert 2002-04-02 00:00:00  to the format,
> 04-02-2002....or m/d/Y
>
> How would I do this?
>
> Thanx in advance,
> Kit
>
>
>
> _________________________________________________________________
> Chat with friends online, try MSN Messenger: http://messenger.msn.com
>

Hi.
There are two ways you can do this:

1) Extract it from the database, and then use explode(); on the data.
2) If you're using MySQL as your database, you can use the DATE_FORMAT
function within MySQL to format it.



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to