[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] parse date in php and mysql
- Subject: Re: [cobalt-developers] parse date in php and mysql
- From: "Ontario Web System Administrator" <hostmaster@xxxxxxxxxxxxx>
- Date: Wed Apr 2 15:19:01 2003
- Organization: Ontario Web
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> I need a little help if anyone knows php and mysql.
> I have a query that returns date in an array in the format yyyy-mm-dd. I
> need to change it to dd-mm-yyyy. Can anyone help?
>
> This is why the date is in
> <?= $results[2] ?>
try doing this
<? echo dd_mm_yyyy($row["results"]); ?>
--
Best Regards, Jon