I have a pre-existing application built with a huge database. In this database, there's a column expires_in
that holds a date but the date is saved in this format:
02 Mar 2018 ( i.e. 'd M Y' format)
I want to copy this data into a new column where it will be saved as date in expiration_date column (like this: 2018-03-02
).
I want to do this in the most efficient way because the database has thousands of records.
Thank you.