RE: [PHP] Confused overSimple PHP mySQL date question
| From: | Jay Blanchard | Date: | Tue, 14 Sep 2004 19:14:29 +0000 |
| Subject: | RE: [PHP] Confused overSimple PHP mySQL date question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196644@lists.php.net to get a copy of this message | ||
[snip]
DATE field in a mysql database.
What obvuios thing did I miss? Note I am not using the system date or
time
stamp, these are entered dates.
[/snip]
You're using a DATE field in the MySQL database. MySQL requires an ISO
formatted date unless you manipulate it, such as 2004-09-14
http://dev.mysql.com/doc/mysql/en/Date_and_time_types.html