Dan Rayburn is the main protagonist of the 2009 Disney comedy Old Dogs.
He is played by the late Robin Williams, who also played Genie in Aladdin, Daniel Hillard in Mrs. Doubtfire, Alan Parrish in Jumanji, Jack Powell in Jack, Popeye in Popeye, John Keating in Dead Poet's Society, Fender Pinwheeler in Robots, Batty Koda in Ferngully, Lance Clayton in World's Greatest Dad, Ramon and Lovelace in the Happy Feet series, Mork in Mork & Mindy, Rainbow Randolph in Death to Smoochy, Phillip Brainard in Flubber, and Peter Banning in Hook.
Dan and Charlie have been best friends and business partners for thirty years; their Manhattan public relations firm is on the verge of a huge business deal with a Japanese company. With two weeks to sew up the contract, Dan gets a surprise: a woman he married on a drunken impulse nearly nine years before (annulled the next day) shows up to tell him he's the father of her twins, now seven, and she'll be in jail for 14 days for a political protest. Dan volunteers to keep the children, although he's uptight and clueless.
Dan Rayburn and Charlie Reed are best friends and co-owners of a successful sports marketing firm. Seven years prior, Dan, recently divorced, married Vicki after being whisked away by Charlie for a tropical vacation. The wedding, however, is short lived. Seven years later, Vicki resurfaces to tell Dan that their short marriage resulted in something he never suspected: twins Zach and Emily.
Vicki, facing jail time for her work as an environmental activist, asks Dan to take care of the kids while she does her time. Thinking this might be his chance to get back with Vicki, Dan agrees, but only if Charlie will help him since neither have any experience taking care of kids. At the same time, the two must finalize a huge marketing deal with a Japanese company; something they've always dreamed of, but will take all of their talents to clinch.
Because Dan's condo does not allow children, he has to board with Charlie. Whilst this is happening, Charlie and Dan are close to securing the biggest account in the history of their careers with a Japanese corporation. Charlie and Dan's attempts to take care of the kids are well-intentioned, but very misguided. On a trip with the kids to an overnight camp, a hard-nosed camp instructor (Matt Dillon) becomes convinced that Dan and Charlie are homosexual partners. The trip ends with a bang after Dan accidentally sets a beloved statue of the camp's founder on fire.
The kids then proceed to spill and replace Charlie and Dan's prescriptions, mixing them up in the process. Dan then must play a game of golf with the Japanese executives while experiencing extreme side effects and Charlie tries to woo Amanda with a face frozen by the pills.
Desperate to help Dan communicate with the children despite his inexperience with children, Charlie recruits his friend Jimmy Lunchbox, a flamboyant children's entertainer, who is famous around the world. Jimmy comes by and straps Dan and Charlie in motion control puppet suits so Charlie can help Dan make all the right moves with his daughter while having a tea party. The suits malfunction, but Dan speaks from the heart, winning over Emily but his speech makes Jimmy emotional. Everything is great with Vicki as she returns home upon having served time in jail. However, the guys have sealed their Japanese deal, sending junior associate Craig (Seth Green) to Tokyo. When Craig goes missing after arriving there, Charlie and Dan must fly to Tokyo themselves to work. Dan must leave the kids and Vicki despite his (and their) desire to be a family.
Once in Tokyo, Dan realizes that what he really wants is to be a good father. He leaves the meeting without sealing the deal, rushing with Charlie to Vermont for the kids' birthday party. They aren't able to get into the Burlington Zoo in time and are forced to break in with the help of Craig. However, they mistakenly wind up in the gorilla enclosure. Though Dan and Charlie escape, Craig is captured by the gorilla (which takes a strong liking to him).
Dan then pays a birthday party performer hired by Vicki to use his jet pack and suit, flies into the ceremony and wins his kids back over. When the jet pack stops working in mid-air, he is taken to an ambulance on a stretcher. One year later, Dan and Vicki are together, Charlie has married Amanda, and Craig has become like a new "uncle" to the kids.