Twenty HBD days.
Good rule of thumb, so you don't have to count days (because some people here are courting trouble when they run out of fingers and toes):
If your minor league season starts on a Monday morning with the AM cycle, do your promotions the following Monday after the AM cycle.
That ends up being 23 days or so, which is safe.