converting date into database date format(newbie)
| From: | Anil Garg | Date: | Fri, 29 Aug 2003 05:31:50 +0000 |
| Subject: | converting date into database date format(newbie) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161108@lists.php.net to get a copy of this message | ||
Hi,
I am a newbie to php.
I am reading date in the format "08-Aug-03" from a text file. While writing
this date into the myqsl database's date column it shows '00-00-0000'.
Is there a function or some other way to convert "08-Aug-03" type of dates
in to format which is acceptable by date field of the mysql database.
Thanks and regards
Anil.