The course's instructor sets the dates that the course will be active. If you are before or after those dates, the course will either show up in your list of inactive courses, or, in the case of a future course, not show up in your course list at all.
If you have any questions about viewing or accessing your course, contact your instructor.