Hi All
Been searching all over the net but all of the answers are relative to converting dates to string format. I need to convert the current date into a DATE format of yyyy-mm-dd to save in a mysql DATE field of a mysql table. If I try to update/insert a date with the American format mm/dd/yyyy the date field in the mysql table is set to 0000-00-00. I have tried the parse and parseExact functions but I'm not getting to the promise land. Any code examples would be greatly appreciated.
Respectfully,
IDEPRIZE
Been searching all over the net but all of the answers are relative to converting dates to string format. I need to convert the current date into a DATE format of yyyy-mm-dd to save in a mysql DATE field of a mysql table. If I try to update/insert a date with the American format mm/dd/yyyy the date field in the mysql table is set to 0000-00-00. I have tried the parse and parseExact functions but I'm not getting to the promise land. Any code examples would be greatly appreciated.
Respectfully,
IDEPRIZE