Sundial , the earliest type of timekeeping device, which indicates the time of day by the position of the shadow of some object exposed to the Sun 's rays. As the day progresses, the Sun moves across the sky, causing the shadow of the object to move and indicating the passage of time.