I want to calculate the difference between the two dates but want to exclude the weekends from it . Below is the format of dates :
CreateDate - 2017-08-29 1
Run a while loop that keeps adding a timedelta of +1 day to create_date. Keep track of weekday vs. weekend in a separate counter.
while
timedelta
create_date