Forum Moderators: coopster

Message Too Old, No Replies

Convert string to date

Convert string to date

         

itnecor

5:42 pm on Aug 24, 2006 (gmt 0)

10+ Year Member



I'am trying to manipulate csv file using PHP, but my problem is that, one field there is date DD/DD/YYYY. My question is, how can I convert that text to date? So that I can insert it to the mysql database correctly.

Please help.

jatar_k

5:42 pm on Aug 26, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



what type is the column you are putting it into?

>> DD/DD/YYYY

do you mean DD/MM/YYYY or MM/DD/YYYY?