Troy Bolton and Gabriella Montez are fictional. They don't age unless a writer ages them. Here's the canonical timeline:
No films, series, books, or comics continue their story. Disney hasn't produced HSM 4 (despite rumors). The stage musical adapts the films; it doesn't extend them.
2008 → 2024 = 16 years. They'd be ~33–34. Maybe married. Maybe not. Maybe Troy coaches basketball; Gabriella directs Stanford research. But this is fan fiction.
The characters are frozen at the threshold of adulthood—the moment possibility peaks. That's the franchise's emotional core. Aging them would require answering "what happens after the dream?" The films wisely stopped before that question.