I have been working on a WP site and i wanted to add a date for a template. I set up ACF and added a date field to the template and it works but i need my date to be displayed like this: l j F Y. Instead of :dd/mm/yy.
I have tried the recommended way that is on the ACF documentation wich looks like this:
$date = get_field('date', false, false);
$date = new DateTime($date);
echo $date->format('l j F Y');
But for some reason this just does not work and disables the rest of the code underneath it.