He needs to be on an active minor league roster for no less than 20 consecutive days.
My rule of thumb . . . if your minor league season starts on Monday with the AM cycle, do your promotions the following Monday after the AM cycle. You might be late by a day or two, but it simplifies the thought process by taking the math out of the equation.