I simply love Joshua 10:13, dear!
I always use it against atheists who ask, how come the Sun and Moon were created on the fourth day (Genesis 1:14-19)? What measured the three days and nights before it?
As Joshua 10:13 shows, some sort of a mechanical time measuring device, not a solar clock, was already used by God and known to the ancient peoples. God measured the days before creating Sun and Moon with a mechanical clock, and the Isrealites were measuring time during their battle with Amorites with a mechanical clock as well!
It's called Occam's Razor, ignorant atheists: the simplest explanation must be the true one.