I am trying to add weekdays to a date using the below formula:
$date = strtotime($effdate." +5 weekdays");
$date = date('m/d/Y', $date);
It works fine for other days but not for Friday. It points to the next Sunday rather than Friday. I googled for many solutions, but didn't get a clear idea.
Is there a workaround to fix this bug?