01/07/2013 at 06:00 PM EST
made an embarrassing admission during Dateline
on Sunday when he recalled an incident that happened after undergoing gastric bypass surgery in 2002.
While being interviewed by correspondent Nancy Snyderman, MD, the weatherman – who lost more than 100 lbs. following the surgery – confessed to having an accident while at the White House.
"When you have a bypass and your bowels [have] been reconstructed, you think you're pretty safe," Roker begins in the video on TMZ.com
"And I probably went off and ate something I wasn't supposed to. And as I'm walking to the press room … I gotta pass a little gas here. I'm walking by myself. Who's gonna know? Only a little something extra came out," the news anchor explains.
"You pooped in your pants," correspondent Snyderman answers.
"I pooped my pants. Not horribly, but enough that I knew," Roker – who recently released a memoir Never Goin' Back: My Weight Loss Journey
Snyderman interjects that it's a "common side effect of the surgery."
In the moments after the incident, an anxious Roker, 58, had to think fast.
"I was panicking, so I got to the restroom of the press room, threw out the underwear and just went commando."
Despite the traumatic experience, Roker says he learned a big lesson that day.
"It told me that I've gotta be very vigilant as to what I eat," he says.
Watch the video below: