Retrieve student list depending on current time and period time

If I plan a period for next year, I should obtain the students for
the period level minus one.