Then spoke Joshua to Yahweh in the day when Yahweh delivered up the Amorites before the children of Israel; and he said in the sight of Israel, Sun, stand you still on Gibeon; You, Moon, in the valley of Aijalon.
Aside from all the discussions and arguments, however, it is simply what the holy text says that is more than enough for any believer. Furthermore, what the text says may not be amended, changed, or revised by men whose avowed purpose is that of discrediting and denying the Word of God.