I want to convert a field that represents a date-time but is currently a VARCHAR to a DATETIME field.
Currently the representation looks like: ‘Sun May 20 01:04:39 +0000 2012’
I want to do this operation in a query.
I want to convert a field that represents a date-time but is currently a
Share
Use
STR_TO_DATE