It is the earth that moveth and not the sun. Helaman 12:15
God stopped the sun from moving so Joshua could get his killing done in the daylight.
Then spake Joshua to the LORD in the day when the LORD delivered up the Amorites before the children of Israel, and he said in the sight of Israel, Sun, stand thou still upon Gibeon; and thou, Moon, in the valley of Ajalon. And the sun stood still, and the moon stayed, until the people had avenged themselves upon their enemies. Is not this written in the book of Jasher? So the sun stood still in the midst of heaven, and hasted not to go down about a whole day. Joshua 10:12-13
In Isaiah, God moved the sun backwards ten degrees.
And this shall be a sign unto thee from the LORD, that the LORD will do this thing that he hath spoken; Behold, I will bring again the shadow of the degrees, which is gone down in the sun dial of Ahaz, ten degrees backward. So the sun returned ten degrees. Isaiah 38:7-8