Formatting date from a database date value
| From: | Jack Sasportas | Date: | Thu, 27 Jul 2000 18:17:16 +0000 |
| Subject: | Formatting date from a database date value | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-8626@lists.php.net to get a copy of this message | ||
I have searched in the manual and a couple of sites not finding what I
am looking for.
When I use this command
echo mysql_result($result,$i,received_date);
the result is 2000-04-27, and what I want it to look like is 04-27-00.
I had a couple of suggestions that didn't work, we are reading this from
mysql just in case that's a factor.
Thanks