Reputation: 1
I have data in excel in which there is a column date formatted dd/mm/yyyy. that excel data I want to convertted to mysql. the problem is after converting this, mysql read as 0000-00-00.
I used formula =TEXT(A1,"YYYY-MM-DD") but the excel ask for punctuation mark (') in front of sign equal to (=) I change the date to 'YYYY-MM-DD and mysql success to read the date.
What exactly the best formula I used to apply to all (if more than 200) date so it can read by mysql.
thanks
Upvotes: 0
Views: 523
Reputation: 182
This should do the trick:
Now your dates should be in the correct format.
Upvotes: 1