How Many Time Zones are There on Earth?

It is commonly believed that there are 24 time zones, although due to fractional hour offsets as well as zones with offsets larger than 12 hours, there are in fact 40 time zones in the world.