Oliver "Ollie" TrinkÃ© (Ben Affleck) is a powerful media publicist in New York City whose wife, Gertrude "Gertie" (Jennifer Lopez), dies during childbirth with an aneurysm in 1996. To avoid his grief, he buries himself in his work and ignores his new daughter, Gertie, while his father, Bart (George Carlin), takes a month off from work to care for her, but returns so that his son is forced to live up to his responsibility as a parent. Under the stress of a botched diaper change and a baby who will not stop crying, Ollie trashes his client Will Smith for his soon-to-be released film Independence Day in front of assembled reporters. The outburst costs him his job, so he moves in with his father in New Jersey. He eventually apologizes for ignoring his daughter, and attributes his public outburst to his grief.Blacklisted by all of New York City's public relations firms, Ollie has to work as a civil servant in the borough where he now lives with his father. Seven years later, in 2003, Gertie (Raquel Castro), now in elementary school, often coaxes him to rent films to watch. At the video store, they meet Maya (Liv Tyler), a graduate student and one of the store's clerks, whose uninhibited probing into Ollie's love life almost leads to their having casual sex. She soon becomes a part of their lives.As part of his job in the borough, Ollie speaks to a group of outraged citizens to win over their approval for a major public works project that will temporarily close a street in the neighborhood. His successful and enjoyable interaction with the crowd leads him to realize how much he misses the public relations work. He contacts Arthur (Jason Biggs), his one-time protÃ©gÃ©, who sets up a promising interview.The prospect of moving to New York creates tension among Ollie, Gertie, Bart, and Maya, especially when he says that his interview is on the same day as Gertie's school talent show. She yells at him, saying she hates him and that she wishes he had died instead of her mom. He claims he hates her right back, and says she and Gertrude took his life away and he just wants it back. He immediately regrets it and tries to apologize, but the damage is done and she pushes him away and runs to her room, crying. A few days later he and Gertie finally patch things up, and she accepts the fact that they will be moving to New York. While waiting to be interviewed, he has a chance encounter with Will Smith (playing himself), the man he trashed at his public outburst years before. Smith has no idea who Ollie is, but the two have a conversation about work and children that persuades Ollie to skip the interview and leave.Ollie rushes to make it to Gertie's Sweeney Todd performance at the last moment. The film ends with him, Gertie, Bart, Maya, and the rest celebrating at the bar. He and Maya hint at possible feelings for each other before being interrupted by Gertie. He holds her and says that they are staying in New Jersey because he did not take the job. She asks why he did so if he loved it so much. He says that he thought he did, but he loved his new life more because being a father to her was the only thing that he was ever really good at.
Output: Question: In what year does Gertrude die?, Answer: 1996