The preposition **до** governs the Genitive, and **два́дцать оди́н час** in the Genitive becomes **двадцати́ одного́ ча́са**. 

Not to be confused with **часа́** as in **24 часа́** (Nominative).