For a rocky planet, finding the length of a day can be simple. Just pick a reference point and watch…