The Baywatch star captioned it: 'We raced our hearts out for @childrensla.
#love.'On Friday Zac posted an Instagram of himself and Dylan at CHLA.
During this time, he also starred in the musical film Hairspray (2007) and the comedy film 17 Again (2009).
He has since appeared in films like New Year's Eve (2011), The Lucky One (2012), Neighbors (2014), Dirty Grandpa (2016), and Neighbors 2: Sorority Rising (2016).
He captioned it: 'Had an incredible visit @Childrens LA pediatric cancer research program, they are at the forefront of groundbreaking research that saves the lives of kids diagnosed with cancer.'Every dollar is so important-- join me in helping these amazing doctors, researchers and brave kids battling cancer.'He also urged fans to donate to the hospital and support him and his Team Flow partners.
Zac's team weren't the only celebs at the triathlon.
The film became a major blockbuster at the box office, and received mixed to positive reviews from critics.