I am looking for a way of cleanly getting the number of days between 2 dates while excluding weekends (and if possible extra dates). I am basically looking for the equivalent function of NETWORKDAYS in Google Sheets.
Off the top of my head (may need to parse carbon docs) you may have to loop through each day. Check if current looped day isWeekday() and add to counter. If not continue loop.
If Carbon does have a helper it probably just loops in the helper function anyways.