From: "Ontario Web System Administrator" <hostmaster@xxxxxxxxxxxxx>
Reply-To: cobalt-developers@xxxxxxxxxxxxxxx
To: <cobalt-developers@xxxxxxxxxxxxxxx>
Subject: Re: [cobalt-developers] parse date in php and mysql
Date: Wed, 2 Apr 2003 18:18:52 -0500
> 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
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers