Neil Patrick Harris Shares How He and Husband David Burtka Have Lasted 15 Years (Exclusive)

The talented performer also explains why he said yes to hosting WE Day California.

Sometimes marriage means powering through the tough times!

Neil Patrick Harris was on hand at this year's WE Day California where he spoke with ET's Katie Krause about how he and husband David Burtka's relationship has managed to last.

"I think the secret to a relationship is just perseverance, you know?" he stated. "It's not always pretty…but he's pretty, so it makes it easy." 

The couple celebrated their 15-year anniversary earlier this month. To mark the important occasion, the 45-year-old actor shared a photo of himself and his husband together at the Blue Lagoon, a geothermal spa in Iceland.

"My first date with David was 15 years ago today, and we've been nearly inseparable ever since," Harris wrote alongside of Burtka, whom he wed in 2014. "I'm so, so grateful to this gorgeous man for giving me his heart, his shoulder, his strength, his lust, his laughter, his joy. He's an actor, chef, author, singer, producer, and the most wonderful, selfless parent I've ever seen. A sextuple threat, if you will. And I most certainly will."

"Happy 15th Anniversary, @dbelicious," Harris added. "You keep making all my dreams come true. #love"

Thursday's event, which the acclaimed actor and performer is emceeing, is the world's largest youth empowerment event which celebrates doing "social good." Kids who want to attend must successfully tackle a local cause and global cause. Besides Harris, the event featured appearances and performances from everyone from Selena Gomez to Bill Nye to Joe Jonas.

"This is a really great thing. I try and be a bit discerning in hosting opportunities but [I] get to perform and empower an entire Forum [an LA venue] filled with people who have come here because they've earned it and, you know, helped change a generation," Harris explained. "That's an important thing."

While chatting with ET, Harris expressed his excitement at showing his two kids with Burtka, Gideon and Harper, both eight, the airing of the WE Day event in the summer.

"They don't know much about it to be honest, so I'm excited for them to see the telecast. To see just how much one person's change can effect more change, right? So, I don't know, I mean you can give back in so many ways and it doesn't have to be on a giant scale. It can be on a bake sale level. I think it's more a way of thinking as opposed to necessarily what you're accomplishing from it."

The WE Day special showcasing the day's event is scheduled to air on August 9 at 8 p.m. EST on ABC.