Calculate the duration between two dates or find the date by adding/subtracting days, with an optional weekday-only mode.