When the midgut herniates into the base of the umbilical cord between 9 and 11 weeks as part of normal development