Each country is in charge of determining time zones and each have passed laws to create them. They chose where they should go so that noon would basically coincide with the sun's highest point in the sky.
How did they decide how many time zones there were going to be and where the lines to divide them would be?