Set End Date
Click the Ends calendar icon . Click a new end date for the course .
Note: In your end date, if you do not set a time, or you set the end time to midnight, a warning icon will appear notifying you that the date prior to the set end date will be the last available day in the course. For instance, if the course were set to end May 15, the last full available date for the course would be May 14.
Limit User Participation
Select the Users can only participate in the course between these dates checkbox.
Note: If you do not select this checkbox, students can participate in the course at any time.