Note: You are currently viewing documentation for Moodle 3.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Course relative dates.

Course relative dates

From MoodleDocs

The course relative dates feature enables course or activity dates to be displayed relative to the user's start date in the course.

The user's course start date is their enrolment start date, unless they are enrolled before the course begins, in which case their start date will be the course start date.

Course relative dates is an 'experimental feature' as it has not yet been implemented in all activities. In Moodle 3.8 it is implemented in the following areas only:

  • Assignment activity - Allow submissions from, Due date, Cut-off date are relative to the user's start date in the course.
  • Weekly course format - The date for each course section is relative to the user's start date in the course.

Course relative dates is not yet implemented for Restrict access or other activities such as Quiz.

Using course relative dates

To use course relative dates, an admin must first enable it for the site in Site administration / Development / Experimental settings.

If course relative dates is enabled for the site, when adding a new course, you can choose to enable relative dates mode.

Note: After saving the course settings, relative dates mode cannot be changed. The setting is displayed greyed out. Relative dates mode cannot be enabled for existing courses.

See also