Re: Date Formatting
| From: | Rick Emery | Date: | Fri, 13 Dec 2002 19:13:37 +0000 |
| Subject: | Re: Date Formatting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128193@lists.php.net to get a copy of this message | ||
MYSQL will do all the formatting that you need. Look up sect 6.3.4, "Date and Time
Functions" in mysql manual. Look at the DATE_FORMAT(date,format) command
----- Original Message -----
From: "Clint Tredway" <ctredway@fishermenstudios.com>
To: <php-general@lists.php.net>
Sent: Friday, December 13, 2002 11:55 AM
Subject: [PHP] Date Formatting
How can I format a date coming out of a MySQL? I know how to format today's date but not a
date coming out of MySQL. I have looked through the manual, but I must be blind because I
cannot figure it out.
Thanks,
Clint