Another way to say "There are 24 hours in a day." is "A day is 24 hours long."