Re: date formatting... help
| From: | jeffrey_n_Dyke at Keane dot com | Date: | Fri, 16 May 2003 13:36:19 +0000 |
| Subject: | Re: date formatting... help | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-27819@lists.php.net to get a copy of this message | ||
you can add [any] formatting you wish inside the ' '
hth
jeff
David Shugarts
<Azimuth@Compu To: <php-db@lists.php.net>
Serve.com> cc:
Subject: Re: [PHP-DB] date formatting... help
05/16/2003
09:34 AM
While we are on this subject, does anyone know how to force a comma or two
in there, as in:
Friday, September 5, 2003
TIA
--Dave Shugarts
>
> right on
> $query_rsViewNews = "SELECT newsId, newsAuthor, newsTitle,
> DATE_FORMAT(newsDate, '%M %e, %Y') AS Fdate, newsDate, newsDescription
FROM
> news ORDER BY newsDate DESC";
>
> makes sense..
> thanks
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php