Re: [PHP] converting date into database date format(newbie)

2003-08-29 Thread John W. Holmes
Anil Garg wrote: 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-'. 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

Re: [PHP] converting date into database date format(newbie)

2003-08-29 Thread Binay Agarwal
Hi! U can convert "8-Aug-03" into mysql date which requires -mm-dd format as below. Hope this helps and let me know. Cheers Binay - Original Message - From: "Anil Garg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 11:01 AM Subject: [PHP] converting da