sorry, submitted it by mistake, so there are edits
I’m not sure why you need to do this
$slide_datepicker_raw = str_replace("/", "-", get_sub_field('slide_datepicker', false, false));
You are indicating false
for the 3rd parameter so ACF should not be formatting the value and returning the date value without the “/”.