It helped sailors know when it was time for their duties.