A sundial is a device that measures time by the position of the Sun. In common designs such as the horizontal sundial, the sun casts a shadow from its style onto a surface marked with lines indicating the hours of the day. The style is the time-telling edge of the gnomon
The gnomon is the part of a sundial that casts the shadow. Gnomon is an ancient Greek word meaning "indicator", "one who discerns," or "that which reveals."It has come to be used for a variety of purposes in mathematics and other fields....

, often a thin rod or a sharp, straight edge. As the sun moves across the sky, the shadow-edge aligns with different hour-lines.