Im struggling in update the date format in mysql. Before that while retrieval from Mysql(using netbeans) of date using adapter the format was is like that
“Birth_Date”: “1990-10-11T00:00:00.000Z”,
Now i want to modify the column of Birthdate into 1990-10-11
i dont want rest of character .. guide me how to achieve this
Actually, I don’t think you can change how MySql store is date type.
Here’s a good article about it
Instead what you can do is when you do a select statement is to format the date using
Date_FormatOn the previous link you have all the formats possible