Once you're on the 'Activity Settings' page, clicking on the tab 'Assign as homework' will show you this screen:
Activities set as homework can be completed by students outside of class, for the duration you set.
'Start activity': When students will be assigned the activity, and can begin working on it.
'End activity': The deadline students have to complete the activity.