A very accurate timepiece hung in gimbals and kept in a special box aboard ship. It is designed to minimize errors due to temperature variation and movement. Any errors are measured and can be factored into navigation solutions. It is set to the time of the Prime Meridian and the difference between it and the time at one's location can be translated into longitude.