I display a date from a ACF custom field like this:
<?php echo date('j F Y',strtotime(get_sub_field('date') ) ) ; ?>
How would I display the date two days earlier?
Thanks for your help.
I display a date from a ACF custom field like this:
<?php echo date('j F Y',strtotime(get_sub_field('date') ) ) ; ?>
How would I display the date two days earlier?
Thanks for your help.