ESV: At that time Joshua spoke to the Lord in the day when the Lord gave the Amorites over to the sons of Israel, and he said in the sight of Israel, "Sun, stand still at Gibeon, and moon, in the Valley of Aijalon."
NIV: On the day the Lord gave the Amorites over to Israel, Joshua said to the Lord in the presence of Israel: "Sun, stand still over Gibeon, and you, moon, over the Valley of Aijalon."
NASB: Then Joshua spoke to the Lord on the day when the Lord turned the Amorites over to the sons of Israel, and he said in the sight of Israel, 'Sun, stand still at Gibeon, And moon, at the Valley of Aijalon!'
CSB: On the day the Lord gave the Amorites over to the Israelites, Joshua spoke to the Lord in the presence of Israel: "Sun, stand still over Gibeon, and moon, over the Valley of Aijalon."
NLT: On the day the Lord gave the Israelites victory over the Amorites, Joshua prayed to the Lord in front of all the people of Israel. He said, 'Let the sun stand still over Gibeon, and the moon over the valley of Aijalon.'
KJV: Then spoke 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.
NKJV: Then Joshua spoke 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 still over Gibeon; And Moon, in the Valley of Aijalon.”