Hi all,
I am trying to convert the date format in the text file into a SQL Datetime format so that i can insert it into my table. Currently, the format in the txt file for the date is something like: Fri Mar 26 06:57:19 2010
Is there a better way then using mktime() as it require that i explode the text above to add in as parameters. Is it not possible to use a date formatter to accept my date input as above and convert it into the desired sql date time format as specified?
I just picked up PHP yesterday and so i am very new to this. Any help would be appreciated. Thanks