I've created two custom datepicker fields with ACF (beginning_date and completion_date) and need to output/display these as a date range.
For example, if beginning_date Year and completion_date Year are equal, I need to output beginning_date day/month - completion day/month/year.
The display and return format these fields use is: l, F j, Y
I've searched everywhere! And tried to implement this: Create display date range from two dates in ACF in Wordpress
I also attempted to convert the fields to datetime objects but comparing these as dates seems to be the wrong way! I do not know where else I'm failing at... I'm beginning again as nothing has worked so far, so I have no code to publish here because I ended up with a Frankenstein code snippet which I deleted and then came here for desperate help!