Longer school day coming for thousands of students