The sand clock, also known as the hourglass, has been used as a timing device for centuries. Its origins can be traced back to Ancient Egypt, where it was used to measure the length of time for a task or ceremony. The sand clock was also used by sailors to measure the passage of time at sea, and it was a popular gift among royalty in the Middle Ages.