After trying Google and some other posts on here, I can not seem to find the answer.
I currently have dates stored in MYSQL as YYYY-mm-dd but for the ACF Date Picker in Wordpress it reads dates as yyyymmdd.
How can I convert the current format to the new format? All the other conversions seem to want it to have dashes but I was to take them away.
Using all your advice I found the correct query to run.
UPDATE `wp_postmeta`
SET meta_value = replace(meta_value, '-', '')
WHERE `meta_key` = 'release_date'
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments