I'm working with Wordpress php and I get from the database a date in the following format: "October 22, 2018", plus I need to convert it to "2018-10-22",
How do I get this?
I tried:
date('Y-m-d', strtotime(get_post_meta( $id_pedido, "Data de...
asked by
23.10.2018 / 19:35