ENGLISH·COURSE API
    Preparing search index...
    • Turns a course's runtime into how long it takes at a number of minutes a day.

      Parameters

      • runtimeSeconds: number

        The course's total video runtime

      • minutesPerDay: number

        How long the learner studies each day

      Returns StudyPace

      The study days and the equivalent weeks

      Weeks are rounded to the nearest whole number because the course page states them as an estimate ("about 5 weeks"). A course that fits in a few days still reads as one week rather than zero.

      studyPace(37_768, 20); // { days: 32, weeks: 5 }