<Tr> <Td_colspan="2"> The Office (U.S. season 6) List of The Office (U.S. TV series) episodes </Td> </Tr> <P> "The Delivery" is a two - part episode of the sixth season of the U.S. comedy series The Office . Since it is an hour - long episode, it is considered to be the 17th and 18th episodes in the season's episode count . It is the 117th and 118th episode overall . </P> <P> The series--presented as if it were a real documentary--depicts the everyday lives of office employees in the Scranton, Pennsylvania, branch of the fictional Dunder Mifflin Paper Company . In this episode, Pam starts having contractions but insists on waiting till midnight to go to the hospital in order to get an extra night at the hospital, irritating Jim . The office tries to distract her with food and entertainment . She eventually goes to the hospital and gives birth to a daughter, Cecelia Marie Halpert . Meanwhile, Michael, inspired by the success of Pam and Jim's relationship, sets up Erin with Kevin . Dwight, sent over to find Pam's iPod, discovers mold in Pam and Jim's house and remodels their entire kitchen, and also considers entering a pre-natal contract with ex-girlfriend Angela, for he feels he needs a baby for business reasons . </P> <P> Part one is written by Daniel Chun and directed by Seth Gordon, while part two is written by Charlie Grandy and directed by Harold Ramis . The episode received mixed reviews from critics and came first in its time slot helping NBC be third highest rated network of the night . </P>

Why did pam want to wait until midnight
find me the text answering this question